您好,欢迎来到花图问答。
搜索
您的当前位置:首页iOS-iOS 11 适配

iOS-iOS 11 适配

来源:花图问答

导航栏

[[UIBarButtonItemappearanceWhenContainedInInstancesOfClasses:@[[UINavigationBarclass]]] setBackButtonTitlePositionAdjustment:UIOffsetMake(1000,-60) forBarMetrics:UIBarMetricsDefault];

[[UIBarButtonItemappearance] setTitleTextAttributes:@{NSForegroundColorAttributeName: [UIColorclearColor]} forState:UIControlStateNormal];

[[UIBarButtonItemappearance] setTitleTextAttributes:@{NSForegroundColorAttributeName: [UIColorclearColor]} forState:UIControlStateSelected];

[[UIBarButtonItemappearance] setTitleTextAttributes:@{NSForegroundColorAttributeName: [UIColorclearColor]} forState:UIControlStateHighlighted];

不然会导致 UIButtonBarStackView 布局错误

UITableView

Section Header Footer 默认是 白色的

状态栏高度

44的高度

automaticallyAdjustsScrollViewInsets 弃用

Copyright © 2019- huatuowenda.com 版权所有 湘ICP备2023022495号-1

违法及侵权请联系:TEL:199 1889 7713 E-MAIL:2724546146@qq.com

本站由北京市万商天勤律师事务所王兴未律师提供法律服务