Bearbeiten

Freigeben über


UIView.RemoveFromSuperview Method

Definition

Detaches the UIView from its Superview.

[Foundation.Export("removeFromSuperview")]
public virtual void RemoveFromSuperview ();
abstract member RemoveFromSuperview : unit -> unit
override this.RemoveFromSuperview : unit -> unit
Attributes

Remarks

Application developers must not call this method from within the UIView's DrawRect(CGRect, UIViewPrintFormatter) method.

Applies to