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