Skip to content

All examples now support iOS 11 and iPhoneX landscape mode + new margin method

Choose a tag to compare

@lucdion lucdion released this 24 Oct 12:43
· 649 commits to master since this release
  • Add new method margin(_ directionalInsets: NSDirectionalEdgeInsets)

    Set margins using NSDirectionalEdgeInsets.
    This method is particularly to set all margins using iOS 11 UIView.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)