问题
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