Button color in Navigation bar - iPhone

前端 未结 6 1375
独厮守ぢ
独厮守ぢ 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:48

    self.navigationItem.rightBarButtonItem.tintColor = [UIColor colorWithRed:0.1f green:0.66f blue:0.26f alpha:0.7];
    

提交回复
热议问题