共用方式為


UIAttachmentBehavior.CreatePinAttachment 方法

定義

用來建立固定點附件的靜態處理站方法。

[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

參數

item1
IUIDynamicItem

專案。

item2
IUIDynamicItem

專案。

attachmentAnchor
CGPoint

附件點。

傳回

屬性

適用於