-
Notifications
You must be signed in to change notification settings - Fork 56
Added support for iPhone X Safe Area. #50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added support for iPhone X Safe Area. #50
Conversation
gshackles
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great! Could you add in a quick page into the sample app that demonstrates this in use?
Edited info.plist: upgraded MinimumOSVersion from 7.0 to 8.0 Added LaunchScreen storyboard to allow app run full screen on iPhone X.
|
@gshackles I've added ViewWithSafeArea sample to quick page, also update QuickLayout MinimumOSVersion from 7.0 to 8.0 and added LaunchScreen storyboard to avoid iPhone X not using entire screen issue. |
fedemkr
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Change to use Minus for the margin in AtRightOfWithSafeArea and AtBottomOfWithSafeArea
Co-Authored-By: FabriBertani <[email protected]>
Co-Authored-By: FabriBertani <[email protected]>
|
Sorry for the delay, and thanks for contributing this! Going to tweak the method names slightly, but I'll do that separately and pull this in now |
✨ What kind of change does this PR introduce?
This is a feature
💥 Does this PR introduce a breaking change?
No
📝 Links to relevant issues/docs
#46
No support for View.SafeAreaLayoutGuide
🆕 What is the new behavior?
Added support to iPhone X and iOS 11 SafeArea on AdvanceFluentLayoutExtesions: AtTopOfWithSafeArea, AtLeftOfWithSafeArea, AtRightOfWithSafeArea, AtBottomOfWithSafeArea. Also this could be added to the original AtTopOf, AtLeftOf, etc, instead of the new ones.