iPhone SDK 中允许的最大 UITabBar 项目数?
我目前有 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我认为没有硬性限制,只要你不耗尽内存即可。我过去使用过 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)