Button color in Navigation bar - iPhone

前端 未结 6 1373
独厮守ぢ
独厮守ぢ 2020-12-09 20:53

How do you to set the tint of this yellow button to be gray? I have tried adding an image, but have had no luck.

Here is the screenshot:

6条回答
  •  情书的邮戳
    2020-12-09 21:45

    From iOS 5.0 and on you can use:

        [[UINavigationBar appearance] setTintColor:[UIColor yellowColor]];
    

提交回复
热议问题