UIAttachmentBehavior.CreateFixedAttachment(IUIDynamicItem, IUIDynamicItem, CGPoint) UIAttachmentBehavior.CreateFixedAttachment(IUIDynamicItem, IUIDynamicItem, CGPoint) Method

Definition

Static factory method to create a fixed attachment.

[Foundation.Export("fixedAttachmentWithItem:attachedToItem:attachmentAnchor:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public static UIKit.UIAttachmentBehavior CreateFixedAttachment (UIKit.IUIDynamicItem item1, UIKit.IUIDynamicItem item2, CoreGraphics.CGPoint attachmentAnchor);
static member CreateFixedAttachment : UIKit.IUIDynamicItem * UIKit.IUIDynamicItem * CoreGraphics.CGPoint -> UIKit.UIAttachmentBehavior

Parameters

item1
IUIDynamicItem IUIDynamicItem

The item to attach to item2.

item2
IUIDynamicItem IUIDynamicItem

The item to which item1 is attached.

attachmentAnchor
CGPoint CGPoint

The point at which the items are attached.

Returns

Applies to