how the remove all subview
NSArray *viewsToRemove = [self.mainView subviews];
for (UIView *v in viewsToRemove)
{
[v removeFromSuperview];
NSLog(@"%@ view removed",v);
}
iOS remove all subview
標籤: iOS張貼者: kenywalker 於 晚上10:49
訂閱:
張貼留言 (Atom)
Diseño e iconos por N.Design Studio | A Blogger por Blog and Web

0 意見:
張貼留言