How To Customize 'More' Button of UITabBarController?

廉价感情. 提交于 2020-01-11 09:47:06

问题


I added UITabBarController as RootView and I also know that 'more' button is automatically added when you have more then 5 tabBarItem.

So Its all Work prefect But I have Two Issues:

1) how can i set Image On 'more' TabBarItem ?
2) myTabBarItem Not added properly (see image for more understanding) its only design related issue

Image says that my i set

self.tabBarController.tabBar.tintColor = [UIColor redColor];

And My UITabBarItem is Orange Color, So Here you can see that my tabBarItem not fit to UITabBar and also dont know how to add image on 'more' Button.

Please Help my On this Issues. Thanks in advance.


回答1:


Unfortunately you can't customize More button in TabViewController by setting custom image there, this tabbar is supposed to be created automatically by iOS.



来源:https://stackoverflow.com/questions/17275442/how-to-customize-more-button-of-uitabbarcontroller

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