Christian R
Christian R

Reputation: 1563

Storyboards adding insets in UITextView iOS 7

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.

Text gets pushed down

Anyone know how to get rid of these insets?

Upvotes: 1

Views: 1207

Answers (1)

virindh
virindh

Reputation: 3765

You have to set self.automaticallyAdjustsScrollViewInsets = NO in your View Controller.

Upvotes: 3

Related Questions