ios - Back Button does not color accordingly (objective c) -
i’m working on iphone/ipad app has multiple navigation bar colours. in 1 part of app navigation bar has orange , in other part has purple. on start screen of app navigation bar hidden. the colour of navigation bar, button , bar button set in prepareforsegue according segue identifier both sections of app. uiimage *navbackgroundimage = [uiimage imagenamed:@"navigation-bar-orange.png"]; [[uinavigationbar appearance] setbackgroundimage:navbackgroundimage forbarmetrics:uibarmetricsdefault]; //change appearance of button uiimage *backbuttonimage = [[uiimage imagenamed:@"back-orange"] resizableimagewithcapinsets:uiedgeinsetsmake(0, 13, 0, 6)]; [[uibarbuttonitem appearance] setbackbuttonbackgroundimage:backbuttonimage forstate:uicontrolstatenormal barmetrics:uibarmetricsdefault]; //change appearance of standard navigation button uiimage *barbuttonimage = [[uiimage imagenamed:@"standard-orange"] resizableimagewithcapinsets:uiedgeinsetsmake(0, 6, 0, 6)]; ...