Safe zone issue - great on iPhone X and not on others

So, I am trying to update my application for iPhone X (a little late in the game, I know), and I turned on the safe area and fixed (presumably) all my restrictions to comply. It looks great on the iPhone X. But for some reason on all other iPhones, it still takes into account the add-on of the iPhone X, despite the fact that the Safe Area correctly displays where the user interface should start and end. I'm at a loss. None of the restrictions in question are hard-coded; I set them all to a “standard” value (or, as I believe).

storyboard (the first button is actually a talk bubble, which is just a static image, and secondly, the paw print, which is the actual button)

messed up iPhone 8 (bubble and ui elements should be at the very top and bottom)

Here is my storyboard file: https://ufile.io/35zvs

UPDATE: image for ercell0

+4
source share
2 answers

You use the standard distance above and below for Banner Viewthe desired priority. try installing it on superView: 0or safeArea: 0and see if this fixes the problem for you.

restrictions on viewing the banner

Updated view:

restrictions for viewing the banner after the changes

+2
source

ViewAs iPhoneX iPhone8 ? iphones, , iOS11 ? , . pre iOS11 , .

-1

Source: https://habr.com/ru/post/1691367/


All Articles