ios - How can I add default left arrow in leftBarButtonItem? -


i used third party code (menu) in application change navigation controller button title. therefore used code this:

self.navigationitem.hidesbackbutton = yes; self.navigationitem.leftbarbuttonitem = [[[uibarbuttonitem alloc] initwithtitle:@"geri" style :uibarbuttonitemstylebordered target:self action:@selector(mycustomback)] autorelease]; 

this code work fine there no default left arrow image in ios 7, rectangle button created in ios 6. how can add default left image (not custom) in button?

you need own arrow image.

create regular uibutton custom style , background image (arrow) set action, create uibarbuttonitem , put button custom view;


Comments

Popular posts from this blog

user interface - How to replace the Python logo in a Tkinter-based Python GUI app? -

android - Get AccessToken using signpost OAuth without opening a browser (Two legged Oauth) -

org.mockito.exceptions.misusing.InvalidUseOfMatchersException: mockito -