UIView.InsertSubview(UIView, IntPtr) Method

Definition

Inserts the specified subview at the specified location as a subview of this view.

[Foundation.Export("insertSubview:atIndex:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void InsertSubview(UIKit.UIView view, IntPtr atIndex);
[<Foundation.Export("insertSubview:atIndex:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member InsertSubview : UIKit.UIView * nativeint -> unit
override this.InsertSubview : UIKit.UIView * nativeint -> unit

Parameters

view
UIView

The view to add as a nested view of this view.

atIndex
IntPtr

nativeint

The index in the stack of subviews where this view will be inserted.

Attributes

Applies to