Max number of UITabBar items allowed in iPhone SDK?

前提是你 提交于 2019-12-06 11:09:25

问题


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.


回答1:


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)



来源:https://stackoverflow.com/questions/1980561/max-number-of-uitabbar-items-allowed-in-iphone-sdk

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!