【发布时间】:2012-05-23 22:09:41
【问题描述】:
在我的 AppDelegate 中,我使用 UIAppearance 使用以下代码设置我自己的 NavigationBar:
[[UINavigationBar appearance] setTintColor:[UIColor blackColor]];
[[UINavigationBar appearance] setBackgroundImage:[UIImage imageNamed:@"nav5.png"] forBarMetrics:UIBarMetricsDefault];
但我的应用程序的某些视图不需要它。我怎样才能摆脱它,所以我只能在相关视图中使用 IB?
【问题讨论】:
标签: objective-c ios uinavigationbar uiappearance