Bagikan melalui


UIAttachmentBehavior.CreatePinAttachment Metode

Definisi

Metode pabrik statis untuk membuat lampiran titik tetap.

[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

Parameter

item1
IUIDynamicItem

Sebuah item.

item2
IUIDynamicItem

Sebuah item.

attachmentAnchor
CGPoint

Titik lampiran.

Mengembalikan

Atribut

Berlaku untuk