All examples now support iOS 11 and iPhoneX landscape mode + new margin method
-
Add new method
margin(_ directionalInsets: NSDirectionalEdgeInsets)Set margins using NSDirectionalEdgeInsets.
This method is particularly to set all margins using iOS 11UIView.directionalLayoutMargins.Available only on iOS 11 and higher.
-
Update all examples so they support iOS 11 and iPhoneX landscape mode. They use the new UIView.safeAreaInsets property.
View build details and download artifacts on buddybuild:
PinLayout (iOS, PinLayout)