本文為您引見IOS 10 跳轉零碎設置的相關內容,詳細內容請看上面
苦心人天不負, 為了項目終於把 IOS 10 跳轉零碎設置的辦法給搞定了, 很欣喜.
http://www.cnblogs.com/lurenq/p/6189580.html
IOS 10 跳轉零碎設置的字段
電池電量
Prefs:root=DosBat target=_blank class=infotextkey>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];
}
// 應用ASCII值停止拼裝組合辦法。這樣可繞過審核, 這麼寫也有弊端,假如蘋果的未地下辦法一旦修正。我們必需重新停止修正
-(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 跳轉零碎設置】的相關資料介紹到這裡,希望對您有所幫助! 提示:不會對讀者因本文所帶來的任何損失負責。如果您支持就請把本站添加至收藏夾哦!