編輯

共用方式為


UIView.InsertSubviewAbove(UIView, UIView) Method

Definition

Inserts the specified view above the siblingSubvie in the view hierarchy

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

Parameters

view
UIView

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

siblingSubview
UIView

The subview of this view that will be below the view.

Attributes

Applies to