UIView.InsertSubview(UIView, nint) Method

Definition

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

[Foundation.Export("insertSubview:atIndex:")]
public virtual void InsertSubview (UIKit.UIView view, nint atIndex);
abstract member InsertSubview : UIKit.UIView * nint -> unit
override this.InsertSubview : UIKit.UIView * nint -> unit

Parameters

view
UIView

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

atIndex
System.System.IntPtr System.nativeint

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

Attributes

Applies to