UIAttachmentBehavior.CreatePinAttachment 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
用于创建定点附件的静态工厂方法。
[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
连接点。
返回
- 属性