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

Under iOS 8 openPrivacyHelper jumps straight to the wrong page in the settings app #17

Open
ronbarr opened this issue Mar 1, 2015 · 3 comments

Comments

@ronbarr
Copy link

ronbarr commented Mar 1, 2015

Hi,

I don't have any settings in the settings app. I am trying to show an issue for HealthKit. openPrivacyHelper skips the (very nice) notification and jumps to the notifications area of system settings.

I would much rather show the dialog always by default. I can use the more explicit command with default settings page set to NO, though, so this is very minor.

Thanks.

Ron

@sybohy
Copy link

sybohy commented Apr 6, 2015

👍

@ryh
Copy link

ryh commented May 19, 2015

Should jump to app setting page with UIApplicationOpenSettingsURLString in iOS8

   [[UIApplication sharedApplication] openURL:[NSURL  URLWithString:UIApplicationOpenSettingsURLString]];

@danielebogo
Copy link
Owner

This is the code of the library:

if (IS_IOS_8 && defaultSettingPane) {
   if (&UIApplicationOpenSettingsURLString != NULL) {
      NSURL *appSettings = [NSURL URLWithString:UIApplicationOpenSettingsURLString];
      [[UIApplication sharedApplication] openURL:appSettings];
      return;
   }
}

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

No branches or pull requests

4 participants