title: How to open Location Services from iOS application for iOS 11 beta?
body: <pre><code>if ([[[UIDevice currentDevice] systemVersion] floatValue] &gt;= 10.0)
  {
       NSURL *URL = [NSURL URLWithString:@"App-prefs:root=Privacy&amp;path=LOCATION"];
      [[UIApplication sharedApplication] openURL:URL options:@{} completionHandler:nil];           
  }
  </code></pre>
  
  <p>This code works fine for iOS 10.0 to 10.3.3
  but when I run this code for iOS 11(beta), application goes into background but Setting page doesn't get opened.</p>