2017-07-27 38 views

回答

0

是的,这是可能的。您只需从Watch Extension的代码发送本地通知。

在您的Watch App中设置UNUserNotificationCenter,然后在手表代码中的任意位置拨打UNUserNotificationCenter.current().add(request, withCompletionHandler: nil),您将收到手表上的本地通知。

相关问题