title: How can i get through Mobile Data Settings Programmatically in iOS Swift 3
body: <p>i am trying to access the mobile data/ cellular data setting page which lists all the apps that have access to mobile/cellular data or internet.</p>
  
  <p>I tried the below code:</p>
  
  <pre><code>func tableView(_ tableView: UITableView, didSelectRowAt indexPath: IndexPath) {
  
  
          let currentCell = featuresTable.cellForRow(at: indexPath)! as! HomeTableViewCell
  
          if(currentCell.featureName!.text == "Internet Permissions")
          {
              // The code to enter the mobile data settings 
  
              let url = URL(string: "App-Prefs:root=MOBILEDATA")
              let app = UIApplication.shared
              app.openURL(url!)
  
          }
      }
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/18XAd.jpg" rel="nofollow noreferrer">Here the Output i want:</a></p>