If I try the flex tutorial, the view fails to maintain 100% height when switching between iPhone versions. Am I doing something wrong?
If I try the flex tutorial, the view fails to maintain 100% height when switching between iPhone versions. Am I doing something wrong?
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.
@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: