Why am I getting a UIBarButtonItem configuration warning?

I have a simple storyboard with a table view inside a navigation view controller that pops from a table view to another view controller that has a full screen image. The table view has summary text in the navigation bar. When I click on the table view cell in the table view, I get the warning below. I don’t configure the back button at all. I created a sample project showing the problem.

https://github.com/stevemoser/UIBarButtonItemCustomizationWarningExampleProject

Does anyone have an idea why I am getting this warning?

UIBarButtonItem setting the background image of the back button for UIBarMetricsDefaultPrompt or UIBarMetricsLandscapePhonePrompt ignored `

+7
ios warnings uinavigationbar uibarbuttonitem uibarmetrics
source share
1 answer

I tried your code in many combinations: Xcode 5.0.2 \ beta one, iPhone 5 \ iPhone 5 and various simulators. This problem does not reproduce when using the new beta version of the iOS SDK, so it seems that this error has been fixed, and you no longer need to worry about it.

+4
source share

All Articles