In this tutorial, i will tell you about how to add curved texts in your application to make it look better.
For adding Curved Texts in your application do the following steps :
Step 1. Go to curved text sample in the github and download the file.
Step 2. From the downloaded sample, drag CoreTextArcView.h , CoreTextArcView.m to your project and check copy to destination folder.
Step 3. Import CoreTextArcView.h in your ViewController.m.
Step 4. Turn off arc of the CoreTextArcView.m by go to Build Phases >> Compile sources and turn off arc by typing fno-objc-arc
|Turn off arc|
Step 5. Add the following code in your viewDidLoad to add curved text :
Your final output will be :
Here is your curved label .