次のコードがあります。
func sendLucidNotification() {
let content = UNMutableNotificationContent()
content.title = "10 Second Notification Demo"
content.subtitle = "From MakeAppPie.com"
content.body = "Notification after 10 seconds - Your pizza is Ready!!"
content.categoryIdentifier = "message"
}
UNMutableNotificationContent、または「UNMutableNotification」バリエーションを呼び出すと、次のエラーが発生します。
Use of unresolved identifier: "UNMutableNotificationContent"
私は Xcode 8.0 を使用していますが、オートコンプリートしようとしても認識されません。何か案は ?ありがとうございました!