This is not a duplicate.
All the other answers are for use of UITabBar in a UIViewController. My question is specific to UITabBarController and those answers did not help. My tabbar works great on other simulators but on iPhone X (11.2) as you can see in the attached image, the icons and text are overlapping.
UITabBarController is custom but I have also tried removing the customization and this problem persists. UITabBarController does not show safe area in the storyboard.I have exhausted all solution on stack related to this.

I was able to fix this problem by checking if the device is iPhone X and setting the UITabbar height to 100 points.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With