The localized title, containing the reason for the alert.
- iOS 10.0+
- macOS 10.14+
- UIKit for Mac 13.0+Beta
- watchOS 3.0+
Use this property to specify the title of your notification alert. If your app is not authorized to display alert-based notifications, this property is ignored.
Title strings should be short, usually only a couple of words describing the reason for the notification. In watchOS, the title string is displayed as part of the short look notification interface, which has limited space.