回覆列表
  • 1 # 安乃近針

    在view controller中(比如viewDidLoad方法裡)新增:#define IOS7_OR_LATER ( [[[UIDevice currentDevice] systemVersion] compare:@"7.0"] != NSOrderedAscending ) #if __IPHONE_OS_VERSION_MAX_ALLOWED >= 70000 if ( IOS7_OR_LATER ) { self.edgesForExtendedLayout = UIRectEdgeNone; self.extendedLayoutIncludesOpaqueBars = NO; self.modalPresentationCapturesStatusBarAppearance = NO; }#endif // #if __IPHONE_OS_VERSION_MAX_ALLOWED >= 70000

  • 中秋節和大豐收的關聯?
  • 情侶名字2020最火寓意?