One Logo Pool Ball
UIKit · IOS API REFERENCE

UIUserNotificationSettings

class · iOS 8.0+ · Deprecated in iOS 10.0 · SDK 27.1

@MainActor class UIUserNotificationSettings

Members (3)

init · iOS 8.0+ · Deprecated in iOS 10.0

init

TypeScript
static init(types: UIUserNotificationType, categories?: (Array<UIUserNotificationCategory>) | null): Promise<UIUserNotificationSettings>
Swift declaration
convenience init(types: UIUserNotificationType, categories: Set<UIUserNotificationCategory>?)
get · iOS 8.0+ · Deprecated in iOS 10.0

categories

TypeScript
get categories(): Promise<(Array<UIUserNotificationCategory>) | null>
Swift declaration
var categories: Set<UIUserNotificationCategory>? { get }
get · iOS 8.0+ · Deprecated in iOS 10.0

types

TypeScript
get types(): Promise<UIUserNotificationType>
Swift declaration
var types: UIUserNotificationType { get }

Skipped declarations

1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.

UIUserNotificationSettings.init()

inherited init: cannot prove legal (class declares 2 custom initializers)

All UIKit types →