12
当我编译我的应用程序时,我得到了这个警告,我无法理解它。我收到警告,我不明白
/Users/imac/Desktop/MyApp/RechercherView.xib:44:0 This bar button item's style is set to 'plain'. This configuration is not supported when in a navigation item.
当我编译我的应用程序时,我得到了这个警告,我无法理解它。我收到警告,我不明白
/Users/imac/Desktop/MyApp/RechercherView.xib:44:0 This bar button item's style is set to 'plain'. This configuration is not supported when in a navigation item.
Plain
是当一个栏按钮项目是标签栏上,说白了就是根本没有边界,您刚才看到的项目。这在导航栏上不受支持,它们必须是bordered
。如果你想获得一个项目的外观没有边框,你应该让自己的自定义UIButton
把那里
oups,INFO按钮被设置好的平淡的风格,我把它改成接壤的风格和警告消失了,谢谢你的帮助:) – Malloc 2011-04-10 14:17:11