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.

Anyone know how to get rid of these insets?

Answers


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


Need Your Help

Alternative to PreInit for UserControl When Dynamically Adding Controls

c# asp.net ajax vb.net user-controls

I am trying to implement the solution found in the following article: http://www.asp.net/web-forms/videos/aspnet-ajax/how-to-dynamically-add-controls-to-a-web-page