The actual intent of each const inside IOS uiapplication

Source: Internet
Author: User

Background notification: screen operation notification, etc.

Uikit_extern nsstring *const uiapplicationdidenterbackgroundnotification Ns_available_ios (4_0);

Uikit_extern nsstring *const uiapplicationwillenterforegroundnotification Ns_available_ios (4_0);

Uikit_extern nsstring *const uiapplicationdidfinishlaunchingnotification;

Uikit_extern nsstring *const uiapplicationdidbecomeactivenotification;

Uikit_extern nsstring *const uiapplicationwillresignactivenotification;

Uikit_extern nsstring *const uiapplicationdidreceivememorywarningnotification;

Uikit_extern nsstring *const uiapplicationwillterminatenotification;

Uikit_extern nsstring *const uiapplicationsignificanttimechangenotification;

Uikit_extern nsstring *const uiapplicationwillchangestatusbarorientationnotification __TVOS_PROHIBITED; UserInfo contains nsnumber with new orientation

Uikit_extern nsstring *const uiapplicationdidchangestatusbarorientationnotification __TVOS_PROHIBITED; UserInfo contains nsnumber with old orientation

Uikit_extern nsstring *const uiapplicationstatusbarorientationuserinfokey __tvos_prohibited; UserInfo dictionary key for status bar orientation

Uikit_extern nsstring *const uiapplicationwillchangestatusbarframenotification __TVOS_PROHIBITED; UserInfo contains nsvalue with new frame

Uikit_extern nsstring *const uiapplicationdidchangestatusbarframenotification __tvos_prohibited; UserInfo contains nsvalue with old frame

Uikit_extern nsstring *const uiapplicationstatusbarframeuserinfokey __tvos_prohibited; UserInfo dictionary key for status bar frame

Uikit_extern nsstring *const uiapplicationbackgroundrefreshstatusdidchangenotification NS_AVAILABLE_IOS (7 _0) __tvos_prohibited;

Uikit_extern nsstring *const uiapplicationlaunchoptionsurlkey Ns_available_ios (3_0); UserInfo contains nsurl with launch URL

Uikit_extern nsstring *const uiapplicationlaunchoptionssourceapplicationkey Ns_available_ios (3_0); UserInfo contains nsstring with launch app bundle ID

Uikit_extern nsstring *const uiapplicationlaunchoptionsremotenotificationkey ns_available_ios (3_0) __TVOS_ prohibited; UserInfo contains nsdictionary with payload

Uikit_extern nsstring *const uiapplicationlaunchoptionslocalnotificationkey ns_available_ios (4_0) __TVOS_ prohibited; UserInfo contains a uilocalnotification

Uikit_extern nsstring *const uiapplicationlaunchoptionsannotationkey Ns_available_ios (3_2); UserInfo contains object with the Annotation property list

Uikit_extern nsstring *const uiapplicationprotecteddatawillbecomeunavailable Ns_available_ios (4_0);

Uikit_extern nsstring *const uiapplicationprotecteddatadidbecomeavailable Ns_available_ios (4_0);

Uikit_extern nsstring *const uiapplicationlaunchoptionslocationkey Ns_available_ios (4_0); App is launched in response to a corelocation event.

Uikit_extern nsstring *const uiapplicationlaunchoptionsnewsstanddownloadskey ns_available_ios (5_0) __TVOS_ prohibited; UserInfo contains an nsarray of Nkassetdownload identifiers

Uikit_extern nsstring *const uiapplicationlaunchoptionsbluetoothcentralskey Ns_available_ios (7_0); UserInfo contains an nsarray of Cbcentralmanager restore identifiers

Uikit_extern nsstring *const uiapplicationlaunchoptionsbluetoothperipheralskey NS_AVAILABLE_IOS (7_0); UserInfo contains an nsarray of Cbperipheralmanager restore identifiers

Uikit_extern nsstring *const uiapplicationlaunchoptionsshortcutitemkey ns_available_ios (9_0) __TVOS_PROH ibited; UserInfo contains the Uiapplicationshortcutitem used to launch the app.

Key in Options Dict passed to Application[will | Did]finishlaunchingwithoptions and info for Uiapplicationdidfinishlaun Chingnotification

Uikit_extern nsstring *const uiapplicationlaunchoptionsuseractivitydictionarykey NS_AVAILABLE_IOS (8_0); Sub-dictionary present in Launch options if user activity is present

Uikit_extern nsstring *const uiapplicationlaunchoptionsuseractivitytypekey Ns_available_ios (8_0); Key in user activity dictionary for the activity type

Uikit_extern nsstring *const uiapplicationopensettingsurlstring Ns_available_ios (8_0); //Turn on system positioning

Keys for Application:openURL:options:

Uikit_extern nsstring *const uiapplicationopenurloptionssourceapplicationkey Ns_available_ios (9_0); Value is an nsstring containing the bundle ID of the originating application

Uikit_extern nsstring *const uiapplicationopenurloptionsannotationkey Ns_available_ios (9_0); Value is a property-list typed object corresponding to what the originating application passed in Uidocumentinteraction Controller ' s annotation property

Uikit_extern nsstring *const uiapplicationopenurloptionsopeninplacekey Ns_available_ios (9_0); Value is a bool NSNumber, set to YES if the file needs to being copied before use

Content size Category Constants //Contents type constant

Uikit_extern nsstring *const uicontentsizecategoryextrasmall Ns_available_ios (7_0);

Uikit_extern nsstring *const uicontentsizecategorysmall Ns_available_ios (7_0);

Uikit_extern nsstring *const uicontentsizecategorymedium Ns_available_ios (7_0);

Uikit_extern nsstring *const uicontentsizecategorylarge Ns_available_ios (7_0);

Uikit_extern nsstring *const uicontentsizecategoryextralarge Ns_available_ios (7_0);

Uikit_extern nsstring *const uicontentsizecategoryextraextralarge Ns_available_ios (7_0);

Uikit_extern nsstring *const uicontentsizecategoryextraextraextralarge Ns_available_ios (7_0);

Accessibility sizes //accessible rows

Uikit_extern nsstring *const uicontentsizecategoryaccessibilitymedium Ns_available_ios (7_0);

Uikit_extern nsstring *const uicontentsizecategoryaccessibilitylarge Ns_available_ios (7_0);

Uikit_extern nsstring *const uicontentsizecategoryaccessibilityextralarge Ns_available_ios (7_0);

Uikit_extern nsstring *const uicontentsizecategoryaccessibilityextraextralarge NS_AVAILABLE_IOS (7_0);

Uikit_extern nsstring *const uicontentsizecategoryaccessibilityextraextraextralarge NS_AVAILABLE_IOS (7_0) ;

Notification is emitted when the user have changed the preferredcontentsizecategory for the system//notification is issued, changing the Preferredcontentsizecategory

Uikit_extern nsstring *const uicontentsizecategorydidchangenotification Ns_available_ios (7_0); UserInfo dictionary would contain new value for Uicontentsizecategorynewvaluekey

Uikit_extern nsstring *const uicontentsizecategorynewvaluekey Ns_available_ios (7_0); NSString instance with new content size category in UserInfo

This notification was posted after the user takes a screenshot (for example by pressing both the home and lock screen bu ttons)//After this notification is published, the user needs one (for example, by pressing the home button and the lock screen button)

Uikit_extern nsstring *const uiapplicationuserdidtakescreenshotnotification Ns_available_ios (7_0);

Extension Point Identifier Constants //Extension dot identifier constant

Uikit_extern nsstring *const uiapplicationkeyboardextensionpointidentifier Ns_available_ios (8_0);

Ns_assume_nonnull_end

The actual intent of each const inside IOS uiapplication

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.