title: registerForRemoteNotificationTypes: is not supported in iOS 8.0 and later
body: <p>When trying to register for push notifications under iOS 8.x:</p>
  
  <pre><code>application.registerForRemoteNotificationTypes(UIRemoteNotificationType.Alert | UIRemoteNotificationType.Badge | UIRemoteNotificationType.Sound)
  </code></pre>
  
  <p>I get the following error:</p>
  
  <pre><code>registerForRemoteNotificationTypes: is not supported in iOS 8.0 and later.
  </code></pre>
  
  <p>Any ideas what is the new way of doing it? It does work when I run this Swift app on iOS 7.x.</p>
  
  <p><strong>EDIT</strong></p>
  
  <p>On iOS 7.x when I include the conditional code I get (either SystemVersion conditional or #if __IPHONE_OS_VERSION_MAX_ALLOWED >= 80000)</p>
  
  <pre><code>dyld: Symbol not found: _OBJC_CLASS_$_UIUserNotificationSettings
  </code></pre>