当前位置:编程学习 > wap >>

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;
补充:移动开发 , IOS ,
CopyRight © 2022 站长资源库 编程知识问答 zzzyk.com All Rights Reserved
部分文章来自网络,