[UIView addSubview:]
documentation
Views can only have one view. If the view already has a supervisor, and this view is not the recipient, this method deletes the previous supervisor before making the recipient its new supervisor.
Sulthan
source share