解决方案: 在AppDelegate中,添加下面代码即可解决
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
// iOS12.1 正式版导致的TabBar 里面item错误偏移解决办法
[[UITabBar appearance] setTranslucent:NO];
return YES;
}
网友评论