View on top of everything: UIWindow subview VS UIViewController subview
问题 In order to make a UIView on top of all views like the behavior of UIAlertView , the best way I see is by putting it in the app window, which is by adding the view to: [[[UIApplication sharedApplication] delegate] window] However, the downside I found is that it doesn't automatically take in rotation. In order for it to take in rotation, the best way to do is by adding the view on current AppDelegate window.navigationController / rootViewController , however, by doing this it will no longer