title: How do I enable notifications for iOS 10?
body: <p>In iOS9 we prompt our user if they'd like notifications and direct them to the settings page so they can enable notification permission for our app. However as shown below there is no option to enable notifications in my apps permissions settings within iOS 10. Is there a new process I must undertake to populate this list with the appropriate permissions?</p>
  
  <p><a href="https://i.stack.imgur.com/qYl4j.jpg" rel="noreferrer"><img src="https://i.stack.imgur.com/qYl4j.jpg" alt="enter image description here"></a></p>
  
  <p><strong>Code</strong></p>
  
  <pre><code>//check the notifications status. First the global settings of the device, then our stored settings
  func checkGlobalNotifications() {
      let grantedSettings = UIApplication.sharedApplication().currentUserNotificationSettings()
      if grantedSettings!.types.rawValue &amp; UIUserNotificationType.Alert.rawValue != 0 {
          globalNotificationsEnabled = true
          //if global notifications are on, then check our stored settings (user)
          if CallIn.Settings.notificationsEnabled { notificationsOn() } else { notificationsOff() }
      }
      else {
          globalNotificationsEnabled = false
          //global notifications (iOS) not allowed by the user so disable them
          notificationsOff()
      }
  }
  </code></pre>