更改moreNavigationController图标的颜色 [英] Change the color of moreNavigationController's icons

查看:191
本文介绍了更改moreNavigationController图标的颜色的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我设法使用。



据我所知,除了难以定制之外,moreViewController没有什么特别之处。如果是我,我只是创建我自己的自定义视图控制器,比如MoreViewController,作为UITableViewController的子类,将它添加到NavigationController,然后将其添加为TabBarController中的第五个和最后一个项目。然后,该表将为我想要显示的每个附加视图控制器创建一个单元格。然后,我可以根据自己的心情自由定制这些细胞。


I've managed to change the navBar tint, the background color and labels' color using this.

But is it possible to change the icons' color?

(those left to tableview's labels)

Thanks!

解决方案

I don't know of a way to change the icon colors, but I don't really think all this hacking is necessary anyway - Apple certainly doesn't recommend it.

As far as I can tell, there is nothing special about the moreViewController, apart from being hard to customize. If it were me, I'd simply create my own custom viewcontroller, say MoreViewController, as a subclass of UITableViewController, add it to a NavigationController and then add that as the fifth and last item in the TabBarController. This table would then have a cell for each additional viewcontroller that I'd like to show. Then I'd be free to customize these cells to my heart's content.

这篇关于更改moreNavigationController图标的颜色的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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