你好,歡迎來到IOS教程網

 Ios教程網 >> IOS編程開發 >> IOS開發綜合 >> iOS 10 跳轉零碎設置

iOS 10 跳轉零碎設置

編輯:IOS開發綜合

本文為您引見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 跳轉零碎設置】的相關資料介紹到這裡,希望對您有所幫助! 提示:不會對讀者因本文所帶來的任何損失負責。如果您支持就請把本站添加至收藏夾哦!

  1. 上一頁:
  2. 下一頁:
蘋果刷機越獄教程| IOS教程問題解答| IOS技巧綜合| IOS7技巧| IOS8教程
Copyright © Ios教程網 All Rights Reserved