UITableView上面有一段空白 | UITableView is starting with an offset in iOS 7

from:http://stackoverflow.com/questions/18388429/uitableview-is-starting-with-an-offset-in-ios-7

From iOS7 transition guide:

If you don’t want a scroll view’s content insets to be automatically adjusted, set automaticallyAdjustsScrollViewInsets to NO. (The default value of automaticallyAdjustsScrollViewInsets is YES.)

 


如果使用storyboard:

Go to the storyboard/xib in IB and untick the show content under nav bar stuff.

发表评论

您的电子邮箱地址不会被公开。 必填项已用*标注