I use an apple watch. In my Watchkit extension, I use the method to communicate with the "main application".
[WKInterfaceController openParentApplication:applicationData reply:^(NSDictionary *replyInfo, NSError *error) {}];
According to apple documentation, an application can process a request in the background.
When you call the openParentApplication:reply: method, iOS launches or wakes up the parent app in the background and calls the application:handleWatchKitExtensionRequest:reply:method of its app delegate.
However, my application always became active, even if I don't have code inside the method, handleWatchKitExtensionRequest
Any tips if possible?
Thanks in advance
source share