iOS 11 iPhone X simulator UITabBar icons and titles being rendered on top covering eachother
- 阅读更多 关于 iOS 11 iPhone X simulator UITabBar icons and titles being rendered on top covering eachother
Anyone having issue with the iPhone X simulator around the UITabBar component? Mine seem to be rendering the icons and title on top of each other, I'm not sure if I'm missing anything, I also ran it in the iPhone 8 simulator, and one actual devices where it looks fine just as shown on the story board. iPhone X: iPhone 8 David Hooper I was able to get around the problem by simply calling invalidateIntrinsicContentSize on the UITabBar in viewDidLayoutSubviews. -(void)viewDidLayoutSubviews { [super viewDidLayoutSubviews]; [self.tabBar invalidateIntrinsicContentSize]; } Note: The bottom of the tab