iPhone SDK中允许的最大UITabBar项目数量? [英] Max number of UITabBar items allowed in iPhone SDK?

查看:106
本文介绍了iPhone SDK中允许的最大UITabBar项目数量?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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

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?

我知道5是一次可见的最多;我正在寻找你可以拥有的最多期限。

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

推荐答案

我认为没有硬限制,只要因为你没有内存不足。我过去使用了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)

这篇关于iPhone SDK中允许的最大UITabBar项目数量?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆