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`
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.
链接地址: http://www.djcxy.com/p/74710.html上一篇: 集合中的骨干集合