How to suit iphone8 and iphone12proMax?

tabbar and Navbar ?
tabbar and navbar too high on iphone12.
please help me

Looks like the app is ignoring the native safe areas. This happens for example when you use image catalog instead of storyboard file as splashscreen in the Xcode project, or when you are missing the correct viewport-fit meta tag:

<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no, minimal-ui, viewport-fit=cover">