Sbuscription is create like below. It works, but no sound generated, why? Doc says: if you specify the string default for this property, the system plays the default alert
if you specify the string default for this property, the system plays the default alert
Need to update registerUserNotificationSettings method call too.
registerUserNotificationSettings
UIApplication.sharedApplication().registerUserNotificationSettings(UIUserNotificationSettings(forTypes: .Sound | .Alert, categories: nil))