01 2019 档案

摘要:#define isIphoneXXS [UIScreen mainScreen].bounds.size.width == 375 && [UIScreen mainScreen].bounds.size.height == 812 #define isIPhone5 [UIScreen main 阅读全文
posted @ 2019-01-07 16:44 SoulDu 阅读(246) 评论(0) 推荐(0) 编辑
摘要:原因: iOS11弃用了automaticallyAdjustsScrollViewInsets属性,新增contentInsetAdjustmentBehavior来替代它 //解决方案 添加如下代码,建议在 viewDidLoad添加 if (@available(iOS 11.0, *)) { 阅读全文
posted @ 2019-01-07 16:26 SoulDu 阅读(779) 评论(0) 推荐(0) 编辑