I have a UITextView that I use to enter text (I added it using Interface Builder)
I made the height of the lines of the font height (so in my case the frame height is 47), so I can have 3 lines of text
what I want is to enter the type up to line 3 and go up if I go to line 4 but what it does is whenever I enter it it automatically goes up so I always print at the top of my uitextview
ive puts an online capture that shows it cleaner .. even when I press a line, it goes up!
Click here to capture the screen.
, ,
txtView.font = [UIFont systemFontOfSize:14];
2 , , .
[textview setContentInset:UIEdgeInsetsZero] textviewbeginediting ViewDidLoad
[textview setContentInset:UIEdgeInsetsZero]
textviewbeginediting
ViewDidLoad
, .....
, , , , , - UITextView ( ), ClearColor, . , . UITextView . , , . Thats, ClearColor .