移除UIView上面的所有控件

for(int i = 0;i<[view.subviews count];i++){
[ [ view.subviews objectAtindex:i] removeFromsuperview];
}
原文地址:https://www.cnblogs.com/joesen/p/3616838.html