Ios5 禁用视图控制器的外观

Ios5 禁用视图控制器的外观,ios5,uiappearance,Ios5,Uiappearance,我想为选定的viewcontroller禁用UIAppearance覆盖 我有一个明亮的橙色uibarbutton(黑色导航条),它与我的应用程序设计相匹配。但它与MFMailComposeViewController(蓝色)不兼容 有什么建议吗?现在,UIAppearance设置处于Appdelegate级别。我只是更新选择器的色调作为解决方法 MFMailComposeViewController *picker = [[MFMailComposeViewController alloc]

我想为选定的viewcontroller禁用UIAppearance覆盖

我有一个明亮的橙色uibarbutton(黑色导航条),它与我的应用程序设计相匹配。但它与MFMailComposeViewController(蓝色)不兼容


有什么建议吗?现在,UIAppearance设置处于Appdelegate级别。

我只是更新选择器的色调作为解决方法

MFMailComposeViewController *picker = [[MFMailComposeViewController alloc] init];

picker.navigationBar.tintColor = [UIColor blackColor];
[picker.navigationBar setTranslucent:YES];

当包含在
ui外观
协议的
method中时,可以使用
appearance。例如,您甚至可以子类化
UINavigationController
,设置子类的外观,而无需在其他Apple类上更改
UINavigationController
本身。

可能重复的