iOS7 NavigationBar覆盖内容解决

//判断设备是否4寸屏幕

 

#define iPhone5 ([UIScreen instancesRespondToSelector:@selector(currentMode)] ? CGSizeEqualToSize(CGSizeMake(640, 1136), [[UIScreen mainScreen] currentMode].size) : NO)

 

//判断设备是否iOS7

 

#define IOS7   ( [[[UIDevice currentDevice] systemVersion] compare:@”7.0″] != NSOrderedAscending )

 

 

iOS7 NavigationBar覆盖内容

self.navigationController.navigationBar.translucent = NO;

self.tabBarController.tabBar.translucent = NO;

标签