The App jumps to system Settings, and the app jumps to settings.

Source: Internet
Author: User

The App jumps to system Settings, and the app jumps to settings.
Many famous and non-famous apps have the function of redirecting to system Settings in the App in some way. However, iOS5.1 cannot be called normally. I have summarized the following two methods after mod-cable:
Method 1:

Actually a littleBaiduYou can find the following list.

Notification — prefs:root=NOTIFICATI_IDPhone — prefs:root=PhonePhotos — prefs:root=PhotosProfile — prefs:root=General&path=ManagedConfigurationListReset — prefs:root=General&path=ResetSafari — prefs:root=SafariSiri — prefs:root=General&path=AssistantSounds — prefs:root=SoundsSoftware Update — prefs:root=General&path=SOFTWARE_UPDATE_LINKStore — prefs:root=STORETwitter — prefs:root=TWITTERUsage — prefs:root=General&path=USAGEVPN — prefs:root=General&path=Network/VPNWallpaper — prefs:root=WallpaperWi-Fi — prefs:root=WIFI

Yes, I will mention this call later:

[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"prefs:root=WIFI"]];

This can be redirected in iOS6, 7, and 8, but there is still one step missing.


1. png

InURL TypesAdd a new item. I did not conduct in-depth research, just enterPrefsYou can.


2. png

In this way, you can jump to the method described above.

Unless you have to, you can still use the following calls when you can choose: (even if you want to extend the reading)

New support for iOS8:

[[UIApplication sharedApplication] openURL:[NSURL URLWithString:UIApplicationOpenSettingsURLString]];

Method 2:

[[UIApplication sharedApplication] openURL: [NSURL URLWithString: @ "prefs: root = WIFI"];
But it can only be available in alertview.

 

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.