gpt4 book ai didi

ios - Storyboard 状态栏后面的内容

转载 作者:搜寻专家 更新时间:2023-10-31 08:17:23 26 4
gpt4 key购买 nike

我在 Storyboard (Xcode 9) 上有一个 TableView 和 ImageView 标题。我想知道如何将内容(ImageView)设置在状态栏后面而不是状态栏下面。

imageView must go behind the status bar

通过这行代码我得到了想要的结果,但我想通过 Storyboard 来设置它。

tableView.contentInsetAdjustmentBehavior = .never

感谢您的帮助。

最佳答案

  • 在 Storyboard中选择表格 View

  • 打开尺寸检查器(右 Pane 中的标尺选项卡)

  • 转到标题为“ ScrollView ”的部分

  • 查找名为“Content Insets”的下拉菜单

  • 打开下拉菜单并选择“从不”

Content insets drop down

关于ios - Storyboard 状态栏后面的内容,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/46936806/

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