Share via


NSLayoutYAxisAnchor.CreateAnchorWithOffset(NSLayoutYAxisAnchor) Method

Definition

Returns a layout dimension for the distance between the current anchor and otherAnchor.

[Foundation.Export("anchorWithOffsetToAnchor:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual UIKit.NSLayoutDimension CreateAnchorWithOffset(UIKit.NSLayoutYAxisAnchor otherAnchor);
[<Foundation.Export("anchorWithOffsetToAnchor:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member CreateAnchorWithOffset : UIKit.NSLayoutYAxisAnchor -> UIKit.NSLayoutDimension
override this.CreateAnchorWithOffset : UIKit.NSLayoutYAxisAnchor -> UIKit.NSLayoutDimension

Parameters

otherAnchor
NSLayoutYAxisAnchor

Returns

Attributes

Applies to