Views can have only one superview. If view already has a superview and that view is not the receiver,this method removes the prevIoUs superview before making the receiver its new superview.