Quote:
Originally Posted by panzeriti
Neither of these worked for me.
But what did work is as follows:
Code:
for (UIView *view in [self.view subviews]) {
[view removeFromSuperview];
}
This method compiled and removed all subviews.
|
Thanks for sharing this. I ran into the same issue. Your post save me a lot of time.