How is that possible that my editable UITextView
(placed inside a straightforward UIViewController inside a UISplitView
that acts as delegate for t
Inspired by Kiattisak, I've implemented vertical alignment as a category over UITextView
so that you can control the vertical alignment of legacy UITextView
.
You can find it as a gist here.
Check top content inset of textView in -viewDidLoad
:
NSLog(@"NSStringFromUIEdgeInsets(self.itemTextField.contentInset) = %@", NSStringFromUIEdgeInsets(self.itemTextField.contentInset));
Reset it in storyboard if it is not zero