一次性移除一个 UIView 全部子视图的方法

一次性移除一个 UIView 所有子视图的方法

for(UIView *view in [self.view subviews])
{
   [view removefromsuperview];
}