Change UINavigationItem colour

前端 未结 3 1405
清酒与你
清酒与你 2021-01-05 23:27

I need to set custom colors to my UINavigationBar buttons. I\'m doing the following thing(RGB func is a define):

- (void)viewWillAppear:(BOOL)animated
{

for         


        
3条回答
  •  清酒与你
    2021-01-05 23:57

    [Change UINavigationItem colour](http://www.skylarcantu.com/blog/2009/11/05/changing-colors-of-uinavigationbarbuttons/"Changing colors of UINavigationBarButtons") and to set same color to UISegmentControl will help you to reach to your destination.

    Here is a sample code for to set color to UISegmentControl.

提交回复
热议问题