Edit

Share via


UIAttachmentBehavior.CreatePinAttachment Method

Definition

Static factory method to create a fixed-point attachment.

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

Parameters

item1
IUIDynamicItem

An item.

item2
IUIDynamicItem

An item.

attachmentAnchor
CGPoint

The attachment point.

Returns

Attributes

Applies to