#if __IPHONE_OS_VERSION_MAX_ALLOWED >= 70000
if ([[[UIDevicecurrentDevice] systemVersion] floatValue] >= 7.0){
self.edgesForExtendedLayout =UIRectEdgeNone;
self.extendedLayoutIncludesOpaqueBars =NO;
self.modalPresentationCapturesStatusBarAppearance =NO;
self.automaticallyAdjustsScrollViewInsets =NO;
self.extendedLayoutIncludesOpaqueBars =YES;
}
#endif
IOS-IOS7适配代码
最新推荐文章于 2024-06-25 15:46:23 发布