UINavigationBar set tintcolor tested in iOS7 not working?

后端 未结 6 1275
攒了一身酷
攒了一身酷 2021-02-07 01:26

I have an app which have a UINavigationBar and I have set the tint color to black like this:

self.navigationController.navigationBar.tintColor = [UI         


        
6条回答
  •  说谎
    说谎 (楼主)
    2021-02-07 01:49

    Following code is working for me :

    self.navigationController.navigationBar.barTintColor = [UIColor blackColor];
    

提交回复
热议问题