You can remove an UIView from its superview without deleting it by removeFromSuperview
. Then you can again addSubview
to the other place. But I don’t understand your complete use case to help more.
4
solved Replacing a table view present in view with another table view in another screen [closed]