Configure UItabBar from view

ぐ巨炮叔叔 提交于 2019-12-12 02:44:40

问题


Hi guys i am having trouble to find out a solution from this problem so i am posting it. So basically in ipod application we can configure the tabbar items from the application and drag them to change and customize it for ourself.

Does anybody know how to do it?

see the attached image please, thanks.


回答1:


You really don't have to do anything more. That feature is automatically available when you add 6 or more tabs to the tab bar controller.

UITabBarController has a customizableViewControllers property which is an array of all customizable view controllers. This is set to the viewControllers property so all view controllers can be customized by default. If you intend to limit it then set this property appropriately.



来源:https://stackoverflow.com/questions/6572954/configure-uitabbar-from-view

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