how can i remove subview swift 5 code example Example: how to remove subview siwft 5 yourView.removeFromSuperview()