iOS8是如何跳轉系統設定頁面

來源:互聯網
上載者:User

標籤:_id   vol   print   war   clip   ast   toc   service   keyword   

說下iOS8是如何跳轉的,以下是代碼:

 

[objc] view plain copy print?
  1. NSURL *url = [NSURL URLWithString:UIApplicationOpenSettingsURLString];  
  2. if ([[UIApplication sharedApplication] canOpenURL:url]) {  
  3.    [[UIApplication sharedApplication] openURL:url];  
  4. }  

 

如果有感興趣的同學可以留言大家談論。

原文地址:http://blog.csdn.net/showhilllee/article/details/44057403

跳轉到系統WiFi設定頁面代碼:

 

[objc] view plain copy print?
  1. NSURL*url=[NSURL URLWithString:@"prefs:root=WIFI"];  
  2. [[UIApplication sharedApplication] openURL:url];  


另附其他設定頁面:

 

 

[objc] view plain copy print?
    1. About — prefs:root=General&path=About  
    2. Accessibility — prefs:root=General&path=ACCESSIBILITY  
    3. Airplane Mode On — prefs:root=AIRPLANE_MODE  
    4. Auto-Lock — prefs:root=General&path=AUTOLOCK  
    5. Brightness — prefs:root=Brightness  
    6. Bluetooth — prefs:root=General&path=Bluetooth  
    7. Date & Time — prefs:root=General&path=DATE_AND_TIME  
    8. FaceTime — prefs:root=FACETIME  
    9. General — prefs:root=General  
    10. Keyboard — prefs:root=General&path=Keyboard  
    11. iCloud — prefs:root=CASTLE  
    12. iCloud Storage & Backup — prefs:root=CASTLE&path=STORAGE_AND_BACKUP  
    13. International — prefs:root=General&path=INTERNATIONAL  
    14. Location Services — prefs:root=LOCATION_SERVICES  
    15. Music — prefs:root=MUSIC  
    16. Music Equalizer — prefs:root=MUSIC&path=EQ  
    17. Music Volume Limit — prefs:root=MUSIC&path=VolumeLimit  
    18. Network — prefs:root=General&path=Network  
    19. Nike + iPod — prefs:root=NIKE_PLUS_IPOD  
    20. Notes — prefs:root=NOTES  
    21. Notification — prefs:root=NOTIFICATIONS_ID  
    22. Phone — prefs:root=Phone  
    23. Photos — prefs:root=Photos  
    24. Profile — prefs:root=General&path=ManagedConfigurationList  
    25. Reset — prefs:root=General&path=Reset  
    26. Safari — prefs:root=Safari  
    27. Siri — prefs:root=General&path=Assistant  
    28. Sounds — prefs:root=Sounds  
    29. Software Update — prefs:root=General&path=SOFTWARE_UPDATE_LINK  
    30. Store — prefs:root=STORE  
    31. Twitter — prefs:root=TWITTER  
    32. Usage — prefs:root=General&path=USAGE  
    33. VPN — prefs:root=General&path=Network/VPN  
    34. Wallpaper — prefs:root=Wallpaper  
    35. Wi-Fi — prefs:root=WIFI  
    36. Setting —prefs:root=INTERNET_TETHERING  

iOS8是如何跳轉系統設定頁面

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

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.