도래울

iOS Push state check 본문

개발/iOS

iOS Push state check

도래울 2016. 11. 2. 15:06
let notificationType = UIApplication.sharedApplication().currentUserNotificationSettings()!.types
if notificationType == UIUserNotificationType.None {
    print("OFF")
} else {
    print("ON")
}


Comments