I am trying to set up a push notification system for my application. I have a server and a developer license to set up the push notification service.
I am currently
You can send notification using the following code snippet:
let settings = UIUserNotificationSettings(forTypes: [.Alert, .Badge, .Sound], categories: nil) if(UIApplication.sharedApplication().currentUserNotificationSettings() == settings ){ //OK }else{ //KO }