How do we detect when control center on iOS 7?
问题 I am having an issue when the control center appears on iOS 7. Basically, the applicationDidEnterBackground is fired when the control center appears. However in my method, I would like to detect if it's just the control center opening or the notification center since I would treat the applicationDidEnterBackground differently in that state. Any help would be appreciated. 回答1: I just published a little UIWindow subclass that does exactly that. You simply subscribe to an NSNotification and can