我有一个简单的Storyboard,其中包含一个导航视图控制器内的表格视图,当从表格视图推送到具有全屏幕图像视图的另一个视图控制器时,表格视图上的导航栏中会出现提示文本。当我在表格视图中点击单元格时,我收到了下面的警告。我没有完全自定义返回按钮。我创建了一个演示此问题的示例项目。
https://github.com/stevemoser/UIBarButtonItemCustomizationWarningExampleProject
有人知道我为什么会收到这个警告吗?
警告如下:
UIBarButtonItem customization of back button background image for UIBarMetricsDefaultPrompt or UIBarMetricsLandscapePhonePrompt is ignored.
警告如下:
UIBarButtonItem customization of back button background image for UIBarMetricsDefaultPrompt or UIBarMetricsLandscapePhonePrompt is ignored.