Reputation: 1563
I am trying to add a UITextView to a view in Storyboards. However it only seems to work when i fill the whole view. When i shrink the UITextView vertically it maintains the upper and lower insets from the navbar and tabbar.
Anyone know how to get rid of these insets?
Upvotes: 1
Views: 1207
Reputation: 3765
You have to set self.automaticallyAdjustsScrollViewInsets = NO
in your View Controller.
Upvotes: 3