I am trying to get the back button without a title, but I cannot get it to work. I am really new to objective-c ...
UIImage *backButtonImage = [[UIImage imageNamed:@"back.png"] resizableImageWithCapInsets:UIEdgeInsetsMake(0, 0, 30, 50)]; [[UIBarButtonItem appearance] setBackButtonBackgroundImage:backButtonImage forState:UIControlStateNormal barMetrics:UIBarMetricsDefault];
With this code, I have my back button, but also the name of the previous page.
I found some working examples using the UIViewController class, but in my case the code is in the appDelegate.m file.
Any idea how I can make it work?
user-interface objective-c xcode ios5 uiappearance
user1736571
source share