Your application has the right to check the notification settings, you can never set or change the types of notifications for the user.
When requesting notification types, the following options
typedef NS_OPTIONS(NSUInteger, UIRemoteNotificationType) { UIRemoteNotificationTypeNone = 0, UIRemoteNotificationTypeBadge = 1 << 0, UIRemoteNotificationTypeSound = 1 << 1, UIRemoteNotificationTypeAlert = 1 << 2, UIRemoteNotificationTypeNewsstandContentAvailability = 1 << 3, }
All you can learn from the push settings request is that the user did not turn on notifications, but not how they are displayed (banner versus warning).
source share