Search Results

Search found 1 results on 1 pages for 'user1736571'.

Page 1/1 | 1 

  • setBackButtonBackgroundImage without title IOS5

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

    Read the article

1