You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Set the start margin. Depends on the value of `Pin.layoutDirection(...)`. In LTR direction, start margin specify the **left** margin. In RTL direction, start margin specify the **right** margin.
Set the end margin. Depends on the value of `Pin.layoutDirection(...)`. In LTR direction, end margin specify the **right** margin. In RTL direction, end margin specify the **left** margin.
915
+
***`marginHorizontal(_ value: CGFloat)`**
916
+
Set the left, right, start and end margins to the specified value
917
+
***`marginVertical(_ value: CGFloat)`**
918
+
Set the top and bottom margins to the specified value.
919
+
***`margin(_ value: CGFloat)`**
920
+
Apply the value to all margins (top, left, bottom, right)
921
+
***`margin(_ insets: UIEdgeInsets)`**
922
+
Set all margins using an UIEdgeInsets. This method is particularly useful to set all margins using iOS 11 `UIView.safeAreaInsets`.
0 commit comments