for (UIButton *btn in view.subviews) {
if ([btn isKindOfClass:[UIButton class]]) {
[btn removeFromSuperview];
}
}
for (UIButton *btn in view.subviews) {
if ([btn isKindOfClass:[UIButton class]]) {
[btn removeFromSuperview];
}
}
本文标题:删除已有控件
本文链接:https://www.haomeiwen.com/subject/atqqtqtx.html
网友评论