IOS system Message notification, ios Message notification
I. keyboard
1. UIKeyboardWillShowNotification-the keyboard to be displayed
2. UIKeyboardDidShowNotification-display keyboard
3. UIKeyboardWillHideNotification-to hide the keyboard
4. UIKeyboardDidHideNotification-the keyboard is hidden
5. UIKeyboardWillChangeFrameNotification-the frame to be changed on the keyboard
6. UIKeyboardDidChangeFrameNotification-the frame has been changed on the keyboard.
Ii. Window
1. UIWindowDidBecomeVisibleNotification-visible in the window
2. UIWindowDidBecomeHiddenNotification-hide the window
3. UIWindowDidBecomeKeyNotification
4. UIWindowDidResignKeyNotification
3. Program message
1. UIApplicationDidBecomeActiveNotification-the program is activated from the background
2. UIApplicationDidChangeStatusBarFrameNotification-the status bar frame is changed.
3. UIApplicationDidChangeStatusBarOrientationNotification-changed the direction of the status bar
4. UIApplicationDidEnterBackgroundNotification-go to the background
5. UIApplicationDidFinishLaunchingNotification-the Program has been loaded.
6. UIApplicationDidReceiveMemoryWarningNotification-memory warning
7. UIApplicationProtectedDataDidBecomeAvailable
8. UIApplicationProtectedDataWillBecomeUnavailable
9. UIApplicationSignificantTimeChangeNotification important time changes (starting from the new day or changing the time zone)
10. UIApplicationWillChangeStatusBarOrientationNotification-the status bar will be changed
11. UIApplicationWillChangeStatusBarFrameNotification-frame to be changed in the status bar
12. UIApplicationWillEnterForegroundNotification
13. UIApplicationWillResignActiveNotification
14. UIApplicationWillTerminateNotification
Iv. Battery, direction, sensor
1. UIDeviceBatteryLevelDidChangeNotification // battery power
2. UIDeviceBatteryStateDidChangeNotification // Battery status
3. UIDeviceOrientationDidChangeNotification // direction
4. UIDeviceProximityStateDidChangeNotification // close-range sensor
V. Audio and Video
1. MPMediaLibraryDidChangeNotification
2. MPMusicPlayerControllerPlaybackStateDidChangeNotification
3. MPMusicPlayerControllerNowPlayingItemDidChangeNotification
4. MPMusicPlayerControllerVolumeDidChangeNotification
Vi. Others
1. NSUserDefaultsDidChangeNotification user default settings change
2 NSCurrentLocaleDidChangeNotification localization language changes
Copyright Disclaimer: This article is an original article by the blogger and cannot be reproduced without the permission of the blogger.