, subviews, devilaether, , , subview UIButton, - :
for(UIView *view in [rootView subviews]) {
if([view isKindOfClass:[UIButton class]]) {
if([view tag] == 0) {
}
else {
NSLog(@"didn't recognize tag");
}
} else {
NSLog(@"view is not a button");
}
}
, - NSArray UIButtons, ; isKindOfClass:. .