开发者

Best way to set default tint for UINavigationController

开发者 https://www.devze.com 2022-12-22 13:14 出处:网络
I use a lot of UINavigationControllers in my app.I am using a UIColor to set the tintcolor of the navigationBar.This works as expected, but I am trying to find an easy way to set a default tintcolor f

I use a lot of UINavigationControllers in my app. I am using a UIColor to set the tintcolor of the navigationBar. This works as expected, but I am trying to find an easy way to set a default tintcolor for all UINavigationControllers. What is the best way to do this? Is it subclassing the UINavigationController, or is there something better?

Thanks for the hel开发者_如何学运维p.


My opinion,

...subclassing is the way to go.

0

精彩评论

暂无评论...
验证码 换一张
取 消