Ios 在watchOS2中安排本地通知

Ios 在watchOS2中安排本地通知,ios,xcode,watchkit,uilocalnotification,apple-watch,Ios,Xcode,Watchkit,Uilocalnotification,Apple Watch,我想知道是否可以在不通过WCSession与配对的iOS手机通信的情况下从手表创建本地通知的时间表。如果是这样,如何安排通知?我创建了通知,但不知道如何在设备上安排通知/自动显示通知 UILocalNotification *theNotification = [[UILocalNotification alloc] init]; [theNotification setAlertBody:@"This is a test"]; [theNotification setAlertTitle:@"

我想知道是否可以在不通过WCSession与配对的iOS手机通信的情况下从手表创建本地通知的时间表。如果是这样,如何安排通知?我创建了通知,但不知道如何在设备上安排通知/自动显示通知

UILocalNotification *theNotification = [[UILocalNotification alloc] init];
[theNotification setAlertBody:@"This is a test"];
[theNotification setAlertTitle:@"Test"];
...???
谢谢