2

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.

  • My UITabBarController is custom but I have also tried removing the customization and this problem persists.
  • My storyboard has "Use Safe Area Layout Guides" turned on
  • My UITabBarController does not show safe area in the storyboard.

I have exhausted all solution on stack related to this.

enter image description here

iGatiTech
  • 2,142
  • 1
  • 17
  • 42
Kashif
  • 4,074
  • 6
  • 39
  • 82

1 Answers1

2

I was able to fix this problem by checking if the device is iPhone X and setting the UITabbar height to 100 points.

Kashif
  • 4,074
  • 6
  • 39
  • 82