This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
CurvedTextView it is UIKit based UI element for drawing curved text. This realisation based on this stackowerflow comment
The CurvedTextView is supported on iOS version 10 or later and Swift 4 and above.
In Xcode go to: File -> Swift Packages -> Add Package Dependency...
Enter the CurvedTextView GitHub repository - https://github.com/odyshewroman/CurvedTextView
Select the version
Import CurvedTextView module and start to use CurvedTextView
To install CurvedTextView with CocoaPods, add the following lines to your Podfile
:
pod "CurvedTextView"
If set circle position to 270 degrees, the text will be flipped.
To avoid this, set the negative radius and circle position to 90 degrees.