ios - Navigation back color -
i have implemented navigation controller between vc1 vc2. , have changed navigation button tittle own custom tittle using
self.navigationitem.backbarbuttonitem = [[uibarbuttonitem alloc] initwithtitle:@"" style:uibarbuttonitemstyleplain target:nil action:nil];
now want change tint colour of arrow. when try doing,its not working why..?
i have tried these samples
[[uibarbuttonitem appearance] settintcolor:[uicolor whitecolor]]; self.navigationcontroller.navigationbar.tintcolor = [uicolor whitecolor];
the navigation bar in child view controller has got button appears , take root viewcontroller. can access navigationbar corresponding navigationcontroller , set tint colour follows,
note: try adding code in viewwillappear method.
[self.navigationcontroller.navigationbar settintcolor:[uicolor redcolor]];
Comments
Post a Comment