View fails to maintain 100% height (flex tutorial)

  1. last year

    daninutero

    9 Feb 2019 User since 2019

    If I try the flex tutorial, the view fails to maintain 100% height when switching between iPhone versions. Am I doing something wrong?

  2. daninutero

    9 Feb 2019 User since 2019

    Update: I guess it's because the "Frame relative to safe area" option is selected and dragging the view to full screen on the iPhone X puts it outside the safe area? So it's like, 110% of the safe area or something, and thus goes over the screen size when switching to iPhone 5?

    Anyways, I'm no longer a big fan of the relative-to-safe-area option. Also, the documentation on the Flex page is very confusing.

  3. andrea

    11 Feb 2019 Administrator User since 2016

    @daninutero,
    you are right, the safe area of the iPhoneX doesn't reach the end of the screen, you can see the safe area for a particular device and window hierarchy by enabling the "Show Safe Area" option from Main menu - View - Show Safe Area, for example:

    Screenshot 2019-02-11 at 08.12.55.png

or Sign Up to reply!