UITextView text not starting from top

Set the Content Inset like this in your UITextView

youtextView.contentInset = UIEdgeInsetsMake(-7.0,0.0,0,0.0);

Adjust the Top value the way you want. this shoud fix your problem.

EDIT:

If you’re having issues with iOS7 or above, try using…

[yourTextView setContentOffset: CGPointMake(x,y) animated:BOOL];

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)