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

Popular posts from this blog

Python SQLAlchemy:AttributeError: Neither 'Column' object nor 'Comparator' object has an attribute 'schema' -

java - How not to audit a join table and related entities using Hibernate Envers? -

mongodb - CakePHP paginator ignoring order, but only for certain values -