Closed chen570075003 closed 6 years ago
看到了处理的文章https://juejin.im/post/5a6bf18ff265da3e5859947f 在TabbarController的- (void)viewDidAppear:添加处理代码,完美解决:
if (!ISiPhoneX) return;
CGRect frame = self.tabBar.frame;
CGFloat h = 83 - frame.size.height;
frame.size.height += h;
frame.origin.y -= h;
self.tabBar.frame = frame;
iPhone X Simulator iOS 11.1