gpt4 book ai didi

ios - UICollectionView 不是从 iOS 中的 Y 位置 0 开始

转载 作者:行者123 更新时间:2023-12-01 18:42:23 27 4
gpt4 key购买 nike

我需要点击屏幕上的应用程序应该隐藏状态栏。我已将 y 位置的标签添加为 0,并且在 Storyboard的 y 位置 0 处添加了 Collection View 。当我运行应用程序时,标签 y 位置仅为零,但 Collection View 从 Y 位置 20 开始。任何人都可以帮我解决这个问题。

最佳答案

取消选中该 UIViewController 的调整 ScrollView 插图在你的 Storyboard中。

enter image description here

关于ios - UICollectionView 不是从 iOS 中的 Y 位置 0 开始,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/41036602/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com