我正在使用WCSession對象通過sendMessage(_:replyHandler:errorHandler:)將手錶應用程序(watchOS 3.3 beta 4)的數據發送回相應的iOS應用程序。按照documentation from Apple: Calling this method from your WatchKit extension while it is active a
退出代碼在Xcode中有設置操作的地方,當接口控制器中駁回: override func didDeactivate() {
// This method is called when watch view controller is no longer visible
super.didDeactivate()
}
但是,我watchOS應用程序需要時,應用程序完全退