[英]UICollectionView is not starting at the Y position 0 in iOS
I have requirement of tapping on the screen the app should hide the status bar. 我要求点击屏幕,应用程序应该隐藏状态栏。 I have added the Label at y Position as 0 and also collection view at y position 0 in story board.
我已将y Position处的Label添加为0,并将故事板中y位置0处的集合视图添加。 When I run the app, the label y position is zero only but the collection view is starting at Y position 20. Can anyone help me on this.
当我运行应用程序时,标签y位置仅为零,但集合视图从Y位置20开始。任何人都可以帮助我。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.