1. NSArray*subViews =self.subviews; [subViewsmakeObjectsPerformSelector:@selector(removeFromSuperview)];