Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why am I getting an UIBarButtonItem customization warning?

I have a simple storyboard with a table view inside a navigation view controller that pushes from the table view to another view controller that has a full screen image view. The table view has a prompt text in it's navigation bar. When I tap on the table view cell in the table view I receive the warning below. I'm not customizing the back button at all. I created a sample project showing the issue.

https://github.com/stevemoser/UIBarButtonItemCustomizationWarningExampleProject

Anyone have an idea why I'm receiving this warning?

UIBarButtonItem customization of back button background image for UIBarMetricsDefaultPrompt or UIBarMetricsLandscapePhonePrompt is ignored`

like image 418
Steve Moser Avatar asked Sep 30 '13 20:09

Steve Moser


1 Answers

I've tried your code in a lot of combinations: Xcode 5.0.2 \ beta one, iPhone 5 \ iPhone 5s and various Simulators. This issue isn't reproducible when using new beta iOS SDK, so seems like this bug was fixed and you don't have to worry about it anymore.

like image 174
Dmitry Zhukov Avatar answered Oct 02 '22 03:10

Dmitry Zhukov