UIApplication的核心作用是提供了iOS程序运行期间的控制和协作工作。
UIApplication中定义了iOS系统的通知:
截屏系统通知,支持iOS7及更高的系统版本(This notification is posted after the user takes a screenshot (for example by pressing both the home and lock screen buttons))
UIKIT_EXTERN NSString *const UIApplicationUserDidTakeScreenshotNotification NS_AVAILABLE_IOS(7_0);