How to get a universal bottom position for all devices

How to get a universal bottom position for all devices? I tried different ways, but none of them were universal and under any circumstances, but this position was blocked by the bottom panel of the device.

Is there a problem with this one?

I’ve already tried, but on my phone this part takes up very little of the entire screen, but on other devices it works…

The only way to solve this is testing. Try all the devices that the simulator offer, and implement mathematical logic to prevent overlapping of elements on the screen. That’s my method…

I’ve already tried this method - it works perfectly on the simulator, but not on devices