Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add link to open in Settings #2

Closed
sachinkesiraju opened this issue Dec 15, 2014 · 3 comments
Closed

Add link to open in Settings #2

sachinkesiraju opened this issue Dec 15, 2014 · 3 comments
Labels

Comments

@sachinkesiraju
Copy link

For devices on iOS 8, the privacy helper could feature a button that'll let the user open the Settings.app so they can modify permissions using:

NSURL *url = [NSURL URLWithString:UIApplicationOpenSettingsURLString];
if ([[UIApplication sharedApplication] canOpenURL:url]) {
   [[UIApplication sharedApplication] openURL:url];
}

Although this won't directly open up the privacy section in settings, it'll at least save the user the step of having to navigate to the settings outside the app.

@sachinkesiraju sachinkesiraju changed the title Link to open in Settings Add link to open in Settings Dec 15, 2014
@danielebogo
Copy link
Owner

Hi @sachinkesiraju ,
i don't understand. You suggest to alert the user that on iOS 8 it is possible to change the privacy with Settings.app?
Because, by default, on iOS 8, this library open the Settings.app. You can force to view the "step by step" help.

@sachinkesiraju
Copy link
Author

Hi Daniel,

What I was really suggesting was adding a button to DBPrivateHelperController to open in Settings as an alternative to directly opening settings when useDefaultSettingPane is set to YES.
What do you think?

Thanks,
Sachin

@danielebogo
Copy link
Owner

@sachinkesiraju i don't know.Maybe depends by the context you use the library. I need to think if this can be a good improvement. Thank you for the suggest.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants