Search code examples
iosiphoneswiftuitabbarcontrolleriphone-x

UITabBar Size increased on iPhone X


I am facing the issue that my tabbar is stretched on the new iPhone X. I am using a regular UITabBarController with no further styling for height etc. I want it to be like the iPhone 8 picture so placed against the bottom of the view and not stretched like it is at this moment.

Is this easy?

iPhone X

UITabBarController iPhone X

iPhone 8

UITabBarController iPhone 8


Solution

  • its because of the lack of home button on the X its done like that to give the User some room for the upward swipe gesture to get to the home page (if you were able to lower it more you'd be screwing over your iPhone X users)