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
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.
Banner View
superView: 0
safeArea: 0
Updated view:
ViewAs iPhoneX iPhone8 ? iphones, , iOS11 ? , . pre iOS11 , .
Source: https://habr.com/ru/post/1691367/More articles:What is the difference between String [] and [String] in typescript? - javascriptGrails application upgrade from version 1.3.7 to Java 8 - grailsCan automatic fields work in CSS Grid, as in Flexbox? - htmlВыбор случайных окон из многомерных рядов массивов Numpy - pythonC ++ How to make a timer accurate on Linux - c ++Why does this function variable have initial values? - javascriptSlow operation using p5 in reaction - performanceclock accuracy () - clockImplicit casting operator not compiling outside the original assembly - c #std :: chrono doesn't seem to give exact resolution / frequency - c ++All Articles