|
@@ -66,6 +66,13 @@
|
|
|
}
|
|
|
[UITabBar appearance].backgroundColor = UIColor.whiteColor;
|
|
|
self.tabBar.translucent = NO;
|
|
|
+ // 处理 pad上 tabbar样式
|
|
|
+ if (@available(iOS 18.0, *)) {
|
|
|
+ if (UIDevice.currentDevice.userInterfaceIdiom == UIUserInterfaceIdiomPad)
|
|
|
+ {
|
|
|
+ self.traitOverrides.horizontalSizeClass = UIUserInterfaceSizeClassCompact; //TAB BAR ON BOTTOM
|
|
|
+ }
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
- (void)removeControllerNotifer {
|