How can i draw lines on UITextView and set text accordingly. I got this idea from this link. But not clear how to implement this thing. I don't have much experience in this. Please guide for above. Thanks in advance.
Asked
Active
Viewed 784 times
0
-
means you want border of textview? – Dhaval Bhadania Oct 25 '13 at 09:46
-
@DhavalBhadania No i want lines like in a notebook. – ios7 Oct 25 '13 at 09:59
1 Answers
0
It uses NSLayoutManagerDelegate, that is used in ios7. For iOS 7, the styleString approach no longer works. You have to use NSLayoutManagerDelegate, it is easy to use. check this link.

Community
- 1
- 1

iPhone Programmatically
- 1,211
- 2
- 22
- 54
-
In this you can use background image not to draw lines yourself. I did with image. – iPhone Programmatically Oct 28 '13 at 09:41