2017-07-27 92 views

回答

0

是的,這是可能的。您只需從Watch Extension的代碼發送本地通知。

在您的Watch App中設置UNUserNotificationCenter,然後在手錶代碼中的任意位置撥打UNUserNotificationCenter.current().add(request, withCompletionHandler: nil),您將收到手錶上的本地通知。

相關問題