- view
- The MonoTouch.UIKit.UIView to add as a nested view of this view.
UIView.AddSubview appends the view to the end of this MonoTouch.UIKit.UIView's UIView.Subviews. The methods UIView.InsertSubview, UIView.InsertSubviewBelow, and UIView.InsertSubviewAbove can be used to control the order.
To remove a MonoTouch.UIKit.UIView from UIView.Subviews, call UIView.RemoveFromSuperview on the child MonoTouch.UIKit.UIView.
Since MonoTouch.UIKit.UIViews can only have direct ancestor, this will overwrite the existing UIView.Superview of the view.
A number of methods are called when a subview is added or removed:
The following diagram shows the sequence of calls resulting from a call to UIView.AddSubview. Note that the calls to UIView.WillMoveToWindow and UIView.MovedToWindow occur shortly after UIView.AddSubview has completed.