SyntaxFix
Write A Post
Hire A Developer
Questions
If you want to remove all the subviews on your UIView (here yourView), then write this code at your button click:
yourView
[[yourView subviews] makeObjectsPerformSelector: @selector(removeFromSuperview)];