gpt4 book ai didi

ios - 修复导航栏

转载 作者:行者123 更新时间:2023-11-30 13:14:49 25 4
gpt4 key购买 nike

我在 UITableViewController 导航栏下方的“对象库”中添加了一个导航栏(其中添加了“嵌入”选项)。当表格向下滚动时它会移动。我该如何修复它? enter image description here

最佳答案

您无法在 UITableViewController 中锚定元素。您可以创建一个嵌入导航 Controller 的主 ViewController,添加导航栏,然后添加一个容器并将其链接到您的 UITableViewController

像这样: Screen of Xcode storyboard

关于ios - 修复导航栏,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/38348379/

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