FluentLayout / Cirrious.FluentLayout

FluentLayout for Xamarin.iOS - sample uses MvvmCross
Microsoft Public License
148 stars 54 forks source link

Added support for iPhone X Safe Area. #50

Closed FabriBertani closed 6 years ago

FabriBertani commented 6 years ago

โœจ 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

โคต๏ธ What is the current behavior?

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.

FabriBertani commented 6 years ago

@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.

gshackles commented 6 years ago

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 :shipit: ๐Ÿš€