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.0init
TypeScriptstatic init(types: UIUserNotificationType, categories?: (Array<UIUserNotificationCategory>) | null): Promise<UIUserNotificationSettings>
Swift declarationconvenience init(types: UIUserNotificationType, categories: Set<UIUserNotificationCategory>?)
get · iOS 8.0+ · Deprecated in iOS 10.0categories
TypeScriptget categories(): Promise<(Array<UIUserNotificationCategory>) | null>
Swift declarationvar categories: Set<UIUserNotificationCategory>? { get }
get · iOS 8.0+ · Deprecated in iOS 10.0types
TypeScriptget types(): Promise<UIUserNotificationType>
Swift declarationvar 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 →