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

连接点。

返回

属性

适用于