遍历界面中所有的视图
#define APPDELEGATE ((AppDelegate *)[UIApplication sharedApplication].delegate)
for (UIView* subview in [APPDELEGATE.window subviews]) {
if(subview.tag == kTagMJAlertView && [subview isKindOfClass:[UIView class]]) {
notifier = subview;
}
}
浙公网安备 33010602011771号