ios - UICollectionView的布局问题,为什么顶上会多出来一截?
PHPz
PHPz 2017-04-17 17:57:56
0
3
302

开始是好的,加了个Navigation之后就这样了.我比划了下,这段还真和Navigation的高度相当,难道是Navigation的问题?

PHPz
PHPz

学习是最好的投资!

reply all(3)
大家讲道理

Go and take a look at this property in UIViewControllerautomaticallyAdjustsScrollViewInsets.

刘奇

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.

伊谢尔伦

Can you give me some code to look at?

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template