When I run my code of iPhone XS it respects native navigation bar and tab bar and adjusts the height automatically. But iPhone XS Max doesn't do the same. Please check attached image.
I am checking on simulator as I don't have real device yet but on left as you can see iPhone XS have proper safe area where as iPhone XS Max doesn't.
What can be the reason for that?