didMoveToSuperview()
Tells the view that its superview changed.
Declaration
func didMoveToSuperview()Discussion
The default implementation of this method does nothing. Subclasses can override it to perform additional actions whenever the superview changes.