温习一下swift3 预习siwft4
发布时间:2020-12-14 06:07:25 所属栏目:百科 来源:网络整理
导读:1:扩展分类 推荐使用构造函数 2:swift 函数可带带默认参数 3:automaticallyAdjustsScrollViewInsets 失效 if#available(iOS11.0,*){tableView.contentInsetAdjustmentBehavior=.nevertableView.contentInset=UIEdgeInsetsMake(64,49,0)tableView.scrollIndic
1:扩展分类 推荐使用构造函数 if#available(iOS11.0,*){ tableView.contentInsetAdjustmentBehavior=.never tableView.contentInset=UIEdgeInsetsMake(64,49,0) tableView.scrollIndicatorInsets=tableView.contentInset } (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |