UI advanced jump system settings interface method, ui advanced

Source: Internet
Author: User

UI advanced jump system settings interface method, ui advanced

Jump to the system settings page, for example, prompting users to open the location, Bluetooth or WIFI, reminding users to open the push or location permissions, etc.

After iOS6, a third-party application needs to jump to the system setting interface and add a prefs value to the URL type, for example:

Jump to the system and set the project in the root directory using the following method

1 _ array = @ [2 @ {@ "system settings": @ "prefs: root = INTERNET_TETHERING"}, 3 @ {@ "WIFI Settings": @ "prefs: root = WIFI "}, 4 @ {@" Bluetooth Settings ": @" prefs: root = Bluetooth "}, 5 @ {@" system notification ": @" prefs: root = icationications_id "}, 6 @ {@" ": @" prefs: root = General "}, 7 @ {@" ": @" prefs: root = DISPLAY & BRIGHTNESS "}, 8 @ {@" Wallpaper Settings ": @" prefs: root = Wallpaper "}, 9 @ {@" sound settings ": @" prefs: root = Sounds "}, 10 @ {@" privacy settings ": @" prefs: root = privacy "}, 11 @ {@" APP Store ": @" prefs: root = STORE "}, 12 @ {@" Notes ": @" prefs: root = NOTES "}, 13 @ {@" Safari ": @" prefs: root = Safari "}, 14 @ {@" Music ": @" prefs: root = MUSIC "}, 15 @ {@" photo ": @" prefs: root = Photos "} 16]; 17 NSURL * url = [NSURL URLWithString: [_ array [index] allValues]. firstObject]; 18 [[UIApplication sharedApplication] openURL: url];

To jump to the setting interface of a third-party application, use the prefs: root = boundleId method. boundleId is the boundleId of the third-party application.
To continue to jump to the project's inner layer, you can add the path as follows:

1 _ array = @ [2 @ {@ "": @ "prefs: root = General & path = About"}, 3 @ {@ "software upgrade ": @ "prefs: root = General & path = SOFTWARE_UPDATE_LINK"}, 4 @ {@ "Date and Time": @ "prefs: root = General & path = DATE_AND_TIME "}, 5 @ {@ "Accessibility": @ "prefs: root = General & path = ACCESSIBILITY"}, 6 @ {@ "keyboard Settings": @ "prefs: root = General & path = Keyboard "}, 7 @ {@" VPN ": @" prefs: root = General & path = VPN "}, 8 @ {@ "Wallpaper Settings": @ "prefs: root = Wallpaper"}, 9 @ {@ "sound settings": @ "prefs: root = Sounds "}, 10 @ {@ "privacy settings": @ "prefs: root = privacy"}, 11 @ {@ "APP Store": @ "prefs: root = STORE "}, 12 @ {@ "Restore Settings": @ "prefs: root = General & path = Reset"}, 13 @ {@ "Application Notification": @ "prefs: root = icationications_id & path = Application boundleId "} 14];

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.