DBPrivacyHelper icon indicating copy to clipboard operation
DBPrivacyHelper copied to clipboard

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

Open ronbarr opened this issue 10 years ago • 3 comments

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

ronbarr avatar Mar 01 '15 00:03 ronbarr

:+1:

sybohy avatar Apr 06 '15 21:04 sybohy

Should jump to app setting page with UIApplicationOpenSettingsURLString in iOS8

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

ryh avatar May 19 '15 05:05 ryh

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;
   }
}

danielebogo avatar Jun 13 '15 11:06 danielebogo