title: Register notification in iOS 9
body: <p>I am using this to register notification :</p>
  
  <pre><code>if application.respondsToSelector("registerUserNotificationSettings:") {
                  let types:UIUserNotificationType = (.Alert | .Badge | .Sound)
                  let settings:UIUserNotificationSettings = UIUserNotificationSettings(forTypes: types, categories: nil)
  
                  application.registerUserNotificationSettings(settings)
                  application.registerForRemoteNotifications()
  
              } else {
                  // Register for Push Notifications before iOS 8
                  application.registerForRemoteNotificationTypes(.Alert | .Badge | .Sound)
              }
  </code></pre>
  
  <p>But it's not woking for iOS 9.</p>