---
title: types
framework: uikit
role: symbol
role_heading: Instance Property
path: uikit/uiusernotificationsettings/types
---

# types

A bitmask of the notification types that your app is allowed to use.

## Declaration

```swift
var types: UIUserNotificationType { get }
```

## Discussion

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.

## See Also

### Related Documentation

- [UIUserNotificationSettings](uikit/uiusernotificationsettings.md)

### Getting the configured settings

- [categories](uikit/uiusernotificationsettings/categories.md)
