UIView.WillRemoveSubview(UIView) UIView.WillRemoveSubview(UIView) Method

Definition

Called prior to the removal of a subview.

[Foundation.Export("willRemoveSubview:")]
public virtual void WillRemoveSubview (UIKit.UIView uiview);
abstract member WillRemoveSubview : UIKit.UIView -> unit
override this.WillRemoveSubview : UIKit.UIView -> unit

Parameters

uiview
UIView UIView

The subview that will be removed.

Remarks

This method is called by the runtime when a UIView is removed from the Subviews array.

By default, this method does nothing. Application developers can override the method in order to perform additional processing.

Applies to