iPhone Set Tint Color of Back Bar Button Item

前端 未结 10 757
清歌不尽
清歌不尽 2020-12-08 22:15

I am trying to set the tint color of the back button within a navigation controller, but nothing is working. I have tried

[self.navigationController.backBa         


        
10条回答
  •  醉梦人生
    2020-12-08 22:52

    This worked for me.

    [self.navigationController.navigationBar setTintColor:[UIColor redColor]];
    

    It is very similar to the second answer...

提交回复
热议问题