title: call didRegisterUserNotificationSettings from a different app delegate function
body: <p>I am adding an onboarding guide to my app and want to ask users to register for notifications on a specific slide of the guide. I want to know if there is a way to call the didRegisterUserNotificationSettings function from my onboarding function. If I can't call it directly, is there way to create a different function that does the same functionality and can be called by my onboarding function?</p>
  
  <p><strong>edit</strong> I just added </p>
  
  <pre><code> let notificationType = UIUserNotificationType.Alert | UIUserNotificationType.Badge | UIUserNotificationType.Sound
          let settings = UIUserNotificationSettings(forTypes: notificationType, categories: nil)
          UIApplication.registerUserNotificationSettings(settings)
  </code></pre>
  
  <p>I am now getting the following error </p>
  
  <blockquote>
    <p>Uiusernotificationsettings is not convertible to uiapplication</p>
  </blockquote>