Bearbeiten

Freigeben über


UIAttachmentBehavior.CreateFixedAttachment Method

Definition

Static factory method to create a fixed attachment.

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

Parameters

item1
IUIDynamicItem

The item to attach to item2.

item2
IUIDynamicItem

The item to which item1 is attached.

attachmentAnchor
CGPoint

The point at which the items are attached.

Returns

Attributes

Applies to