Skip to content

Instantly share code, notes, and snippets.

@codeswimmer
Created January 2, 2013 19:59
Show Gist options
  • Select an option

  • Save codeswimmer/4437426 to your computer and use it in GitHub Desktop.

Select an option

Save codeswimmer/4437426 to your computer and use it in GitHub Desktop.
iOS: How to detect and remove SubViews
for (UIView *myView in MainView.subviews) {
[myView removeFromSuperview];
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment