我想分享我的應用程序和Today Extension之間的[[String:String]]對象。 在我的應用程序,我保存的對象是這樣的: override func viewWillDisappear(animated: Bool) {
// Save all data and update Today Extension
// 1) Save selectedStation
我剛剛爲我的iPhone應用程序創建了Apple Watch擴展,並使用以下方法更新我的應用程序數據。 // Call the parent application which launches a method to update the app data
WatchViewController.openParentApplication([:],
reply: { (reply,