导航栏顶部没有完全显示
JsonFu opened this issue · comments
JasonFu commented
JasonFu commented
问题已解决:在AppDelegate.m中:设置导航栏的背景图片。
// [[UINavigationBar appearance] setBarTintColor:[UIColor purpleColor]];
[self.mainNavigationController.navigationBar setBackgroundImage:[UIImage imageNamed:@"bgImage"] forBarMetrics:UIBarMetricsDefault];