0

I am testing an app in iPhone X Simulator and I have written code in Objective-c. It has Tab bar view controller and it seems that Tab bar is having more padding than before. I have tested the same app in other simulators and it looks fine. It's throwing this issue in just iPhone X simulator.

This is how the view looks.

As you can see there's a part of the text that's chipped and the tab bar seems to be covering the white view little bit.

Could anyone please help me with this? Any help is appreciated. Thank you.

Simeryn Denis
  • 168
  • 1
  • 10

1 Answers1

1

From this tutorial and after initialization of tab bar writing this line in appdelegate class

(self.tabBarController.tabBar as? ESTabBar)?.itemCustomPositioning = .fillIncludeSeparator

Solves my problem of tab bar.

Bugs
  • 4,491
  • 9
  • 32
  • 41
Siddh
  • 712
  • 4
  • 21