if([viewname superview]!=nil)
{
for(UIView *subview in [scrollviewname subviews]) {
if([subview isKindOfClass:[viewname class]]) {
[subview removeFromSuperview];
}
}
}
No comments:
Post a Comment