2

I am looking to draw some text in curved format. It doesn't matter which control I use: UITextField, UILabel or UITextView.

I just want to show text something like shown in the image

enter image description here

Still looking for solution. Please help ?

sajwan
  • 333
  • 3
  • 14

1 Answers1

-1

Check out this link. Though this is for mac, i think you can port it for ios

ABOVE LINK IS OUT DATED. PLEASE FIND YOUR SOLUTION FROM THIS LINK

Other thing I can think is not an easy way out. Take a string as an array of letters, Take labels for each later and rotate each label to some angle that is calculated to create an arc for your text. Second approach need more manipulation and logic :) All the best.

Community
  • 1
  • 1
DivineDesert
  • 6,924
  • 1
  • 29
  • 61
  • The second approach will not work for dynamic text (Or it is very hard to implement) and first one is also not suitable I have gone through both of them before posting this question. – sajwan May 29 '12 at 04:49
  • First only I said its not easy, since you need to create an array of letters and then calculate and then Rotate it. Else you wont find any ready made material for this :( – DivineDesert May 29 '12 at 05:50