uinavigationcontroller - IOS customized navigation back button is not working -


I did not work the following in my Visual Controller: I am using the storyboard.

  [Super Viewedload]; UIImage * backImage = [UIImage imageNamed: @ "Back Page"]; UIBarButtonItem * backButton = [[UIBarButtonItem alloc] initWithImage: backImage Style: (UIBarButtonItemStyleBordered Target: zero operation: zero]; BackButton.title = @ "Test"; [Self. NavigationEystem SetbackBarbootNitim: Backbutton];   

Please help thank you.

Try

  [[UIBarButtonItem Appearance] setBackButtonBackgroundImage: [UIImage ImageNamed: @ "someimage.png"] forState: UIControlStateNormal bar Metrics: UIBarMetricsDefault]    

Comments