Where Does A UIAlertView Live While Not Dismissed
问题 Does anyone know in whose subview an active UIAlertView is located or how to find the thread in which it is running? 回答1: If you dump the contents of the windows property and all subviews of all views you can see that the UIAlertView is in a separate window that overlays the main window. Here I have a navbar with a viewcontroller and a tableview (I removed its subviews since they're not relevent). <UIWindow: 0x411fd50; frame = (0 0; 320 480); opaque = NO; autoresize = RM+BM; layer = <CALayer: