iOS system messages

Source: Internet
Author: User

First, the keyboard
1. Uikeyboardwillshownotification will eject the keyboard
2. uikeyboarddidshownotification Display keyboard
3, Uikeyboardwillhidenotification will hide the keyboard
4, uikeyboarddidhidenotification keyboard has been hidden
5. uikeyboardwillchangeframenotification Keyboard will change frame
6. Uikeyboarddidchangeframenotification Keyboard has changed frame

Second, the window
1, uiwindowdidbecomevisiblenotification window visible
2, uiwindowdidbecomehiddennotification window hidden
3, Uiwindowdidbecomekeynotification
4, Uiwindowdidresignkeynotification
Third, the program message
1, uiapplicationdidbecomeactivenotification program from the background activation
2, uiapplicationdidchangestatusbarframenotification status bar frame change
3, uiapplicationdidchangestatusbarorientationnotification status bar direction change
4, uiapplicationdidenterbackgroundnotification into the backstage
5, uiapplicationdidfinishlaunchingnotification program loading complete
6. Uiapplicationdidreceivememorywarningnotification Memory Warning
7, Uiapplicationprotecteddatadidbecomeavailable
8, Uiapplicationprotecteddatawillbecomeunavailable
9. Uiapplicationsignificanttimechangenotification Important time Changes
10, Uiapplicationwillchangestatusbarorientationnotification will change the status bar direction
11, Uiapplicationwillchangestatusbarframenotification will change the status bar frame
12, Uiapplicationwillenterforegroundnotification
13, Uiapplicationwillresignactivenotification
14, Uiapplicationwillterminatenotification

Iv. battery, direction, sensor
1, uidevicebatteryleveldidchangenotification battery power
2. Uidevicebatterystatedidchangenotification Battery Status
3, Uideviceorientationdidchangenotification direction
4, uideviceproximitystatedidchangenotification near distance sensor

Five, audio and video
1, Mpmedialibrarydidchangenotification
2, Mpmusicplayercontrollerplaybackstatedidchangenotification
3, Mpmusicplayercontrollernowplayingitemdidchangenotification
4, Mpmusicplayercontrollervolumedidchangenotification

Vi. Other
1, nsuserdefaultsdidchangenotification user default settings change
2 nscurrentlocaledidchangenotification Localization language changes

iOS system messages

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.