for(int i = 0;i<=[view.subviews count];i++){[ [ view.subviews objectAtindex:i] removeFromsuperview];}