marcosgriselli/Sizes

Safe area is inherited from the device running Sizes

fpg1503 opened this issue · 1 comments

Expected Behavior

When the size is changed to a new device, the view controller should have the same safe area that it would have if it were running on that device.

Actual Behavior

When the size is changed to a new device, the safe area does not change.

Steps to Reproduce the Problem

  1. Run Sizes on an iPhone 8 Plus
  2. Select Readme
  3. The safe area is small (ok)
  4. Change size to iPhone Xs
  5. The safe area remains small (not ok)
  6. For contrast, you can run Sizes on an iPhone Xs and see the difference:
iPhone 8 Plus Simulator iPhone Xs Simulator
iPhone 8 Plus Size simulator screen shot - iphone 8 plus - 2018-10-14 at 13 13 54 simulator screen shot - iphone xs - 2018-10-14 at 13 14 08
iPhone Xs Size simulator screen shot - iphone 8 plus - 2018-10-14 at 13 14 05 simulator screen shot - iphone xs - 2018-10-14 at 13 14 16

Specifications

  • Version: Any
  • Platform: Any
  • Subsystem: Any

Thanks for creating this issue @fpg1503. I'm still to find a solution to the safe area issues but I'll add it to the TODO list 👍