types
A bitmask of the notification types that your app is allowed to use.
Declaration
var types: UIUserNotificationType { get }Discussion
When you create a new settings object, this property contains all of the types you specified. After you register your request with the app, the app provides you with a new settings object that contains only the types that your app is allowed to use.