Change color of UINavigationController back button

倖福魔咒の 提交于 2019-12-02 00:51:53

Yeah, I'll just post this as an answer. Your alpha is set to 0. So you're basically saying the same thing as [UIColor clearColor]. Not sure how that ever worked to give you a tint color on your bar button items.

In swift, it can be accomplished by the following command:

if let navController = self.navigationController
{
    navController.navigationBar.tintColor = UIColor.whiteColor()
}
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!