iPhone SDK 中允许的最大 UITabBar 项目数?

发布于 2024-08-16 05:44:15 字数 107 浏览 2 评论 0原文

我目前有 8 个 UITabBar 项目,所有这些项目都可以在“更多”视图中编辑。我的问题是,允许的标签栏项目的绝对最大数量是多少?

我知道5个是一次最多可见的;我正在寻找最多的时间。

I currently have 8 UITabBar items, all of which are editable in the More view. My question is, what is the absolute maximum number of tab bar items allowed?

I understand 5 is the most that can be visible at one time; I'm looking for the most you can have period.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

乙白 2024-08-23 05:44:15

我认为没有硬性限制,只要你不耗尽内存即可。我过去使用过 20 多个,没有任何问题(尽管拥有许多控制器意味着您在管理内存时应该非常小心,即正确处理 didReceiveMemoryWarning

I don't think there is a hard limit, as long as you don't run out of memory. I've used more than 20 in the past without any problems (although having many controllers means you should be really careful when managing memory, i.e. handling didReceiveMemoryWarning correctly)

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文