UIView.InsertSubview(UIView, nint) 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 UIView

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

atIndex
nint nint

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

Applies to