marcosgriselli / marcosgriselli/Sizes
Safe area is inherited from the device running Sizes
- Dominant language
- Swift
- Stars
- 1.2k
- Forks
- 53
- PR merge metrics
- No merged PRs in 30d
Description
## 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|||
|iPhone Xs Size|||
## Specifications
- Version: Any
- Platform: Any
- Subsystem: Any
Contributor guide
No contributing guide indexed for this repository
Research direction
Reproduce the issue using the listed iPhone 8 Plus and iPhone Xs simulator steps, then trace how changing the selected size updates the view controller's safe area. Done means the safe area matches the selected device rather than the device running Sizes, including the contrast cases described in the issue.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ios, swift
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100