开始是好的,加了个Navigation之后就这样了.我比划了下,这段还真和Navigation的高度相当,难道是Navigation的问题?
大家讲道理2017-04-17 17:59:56
Go and take a look at this property in UIViewControllerautomaticallyAdjustsScrollViewInsets
.
怪我咯2017-04-17 17:59:56
This section is reserved for NavigationBar, your frame is not set properly,
Change the value (change y to 0)
or pull to the top
If this is not the problem, you need to check whether the height of the Header is set. In the Delegate, it is not set by default.