PinLayout v1.4.1 Release Notes

  • 🔄 Change

    • ➕ 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.