IOS 10 Jump system settings

Source: Internet
Author: User

Painstaking, in order to project finally the IOS 10 jump system set up the method to fix, very gratified.

Http://www.cnblogs.com/lurenq/p/6189580.html

IOS 10 Jump System settings for fields

  • 电池电量Prefs:root=battery_usage
  • 通用设置Prefs:root=general
  • 存储空间Prefs:root=general&path=storage_icloud_usage/device_storage
  • 蜂窝数据prefs:root=mobile_data_settings_id
  • Wi-Fi 设置Prefs:root=wifi
  • 蓝牙设置Prefs:root=bluetooth
  • 定位设置Prefs:root=privacy&path=location
  • 辅助功能Prefs:root=general&path=accessibility
  • 关于手机Prefs:root=general&path=about
  • 键盘设置Prefs:root=general&path=keyboard
  • 显示设置Prefs:root=display
  • 声音设置Prefs:root=sounds
  • App Store 设置Prefs:root=store
  • 墙纸设置Prefs:root=wallpaper
  • 打开电话mobilephone://
  • 世界时钟clock-worldclock://
  • 闹钟clock-alarm://
  • 秒表clock-stopwatch://
  • 倒计时clock-timer://
  • 打开相册photos://

-(void) Encryptmethodgotosettingwifi {

NSString *encryptwork = [self encryptdefaultwork];

NSString *encryptwifi_method = [self getgotowifi_method];

Nsurl*url = [Nsurl urlwithstring:@ "Prefs:root=wifi"];

Class lsapplicationworkspace = nsclassfromstring (@ "Lsapplicationworkspace");

[[Lsapplicationworkspace performselector:nsselectorfromstring (Encryptwork)]

Performselector:nsselectorfromstring (Encryptwifi_method)

Withobject:url

Withobject:nil];

}

Use the ASCII value to assemble the assembly method. This bypasses auditing, and there are drawbacks to this, if Apple's unpublished methods are modified. We have to re-make changes.

-(NSString *) encryptdefaultwork{

NSData *data_encrypted = [NSData datawithbytes: (unsigned char []) {0x64,0x65,0x66,0x61,0x75,0x6c,0x74,0x57,0x6f,0x72, 0X6B,0X73,0X70,0X61,0X63,0X65} Length:16];

NSString *method = [[NSString alloc] initwithdata:data_encrypted encoding:nsasciistringencoding];

return method;

}

-(NSString *) getgotowifi_method{

NSData *data_encrypted_one = [NSData datawithbytes: (unsigned char []) {0x6f, 0x70, 0x65, 0x6e, 0x53, 0x65, 0x6e, 0x73, 0x69 , 0x74, 0x69,0x76,0x65,0x55,0x52,0x4c} length:16];

NSString *key_encrypted_one = [[NSString alloc] Initwithdata:data_encrypted_one

Encoding:nsasciistringencoding];

NSData *data_encrypted_two = [NSData datawithbytes: (unsigned char []) {0x77,0x69,0x74,0x68,0x4f,0x70,0x74,0x69,0x6f, 0X6E,0X73} Length:11];

NSString *key_encrypted_two = [[NSString alloc] Initwithdata:data_encrypted_two

Encoding:nsasciistringencoding];

NSString *method = [NSString stringwithformat:@ "%@%@%@%@", key_encrypted_one,@ ":", key_encrypted_two,@ ":"];

return method;

}

IOS 10 Jump system settings

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.