Edit

Share via


NSLayoutXAxisAnchor.ConstraintEqualToSystemSpacingAfterAnchor Method

Definition

Returns a constraint for the distance from the current anchor to the specified anchor, scaled by the specified multiplier over system spacing.

[Foundation.Export("constraintEqualToSystemSpacingAfterAnchor:multiplier:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual UIKit.NSLayoutConstraint ConstraintEqualToSystemSpacingAfterAnchor (UIKit.NSLayoutXAxisAnchor anchor, nfloat multiplier);
abstract member ConstraintEqualToSystemSpacingAfterAnchor : UIKit.NSLayoutXAxisAnchor * nfloat -> UIKit.NSLayoutConstraint
override this.ConstraintEqualToSystemSpacingAfterAnchor : UIKit.NSLayoutXAxisAnchor * nfloat -> UIKit.NSLayoutConstraint

Parameters

anchor
NSLayoutXAxisAnchor

The reference anchor.

multiplier
nfloat

The multiplier for the spacing.

Returns

Attributes

Applies to