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 弃用

你可能感兴趣的:(iOS-iOS 11 适配)