In our app, you may use a variety of services, such as targeting, push, albums, photos, Contacts, and more. Choose whether to allow only the first time after the app is installed, but we still need to use a service to determine whether the user allows the service, because users may shut down their own app of such servers.
It is usually our practice to give a popup window that prompts for the path to the option: for example:
You can also make a long picture, show it with ScrollView, and you may experience a little bit better.
The best way to do this now is to jump directly to the app's setup interface, like this:
Directly on the code:
[[UIApplication sharedapplication] Openurl:[nsurl urlwithstring:@ "prefs:root= your app Bunbleid"]; In addition, the method supports iOS8 above, iOS7 estimate or use the original method.
Add:
Of course, you can jump to a certain type of server settings interface, directly modify the URL scheme parameters settings.
The common parameters are as follows
Location Services-prefs:root=location_services
notification-prefs:root=notifications_id
Phone-prefs:root=phone
Photos-prefs:root=photos
Wi-fi-prefs:root=wifi
About-prefs:root=general&path=about
Accessibility-prefs:root=general&path=accessibility
Airplane Mode On-prefs:root=airplane_mode
Auto-lock-prefs:root=general&path=autolock
Brightness-prefs:root=brightness
Bluetooth-prefs:root=general&path=bluetooth
Date & Time-prefs:root=general&path=date_and_time
Facetime-prefs:root=facetime
General-prefs:root=general
Keyboard-prefs:root=general&path=keyboard
Icloud-prefs:root=castle
ICloud Storage & Backup-prefs:root=castle&path=storage_and_backup
International-prefs:root=general&path=international
Music-prefs:root=music
Music Equalizer-prefs:root=music&path=eq
Music Volume Limit-prefs:root=music&path=volumelimit
Network-prefs:root=general&path=network
Nike + ipod-prefs:root=nike_plus_ipod
Notes-prefs:root=notes
Profile-prefs:root=general&path=managedconfigurationlist
Reset-prefs:root=general&path=reset
Safari-prefs:root=safari
Siri-prefs:root=general&path=assistant
Sounds-prefs:root=sounds
Software Update-prefs:root=general&path=software_update_link
Store-prefs:root=store
Twitter-prefs:root=twitter
Usage-prefs:root=general&path=usage
Vpn-prefs:root=general&path=network/vpn
Wallpaper-prefs:root=wallpaper
Open your app's dedicated settings screen within the app