WatchOS 3 openParentApplication?

In my application, I communicate with the iPhone on the Apple Watch and with the Apple Watch on the iPhone.

For Tableview on the Apple Watch, I get data from the iPhone when the application runs on the iPhone, everything is fine.

Now I have implemented the button in the Watch app and I want the iPhone to reload the data and send it to the Watch.

In WatchOS 1, it was done wkInterfaceController.openParentApplication but in WatchOS3 this method is missing.

Now my question is: how to open an iPhone application to launch Datareload?

+4
source share
1 answer

This method is deprecated, and I spent about a week learning how to do it.

https://developer.apple.com/documentation/watchkit/wkinterfacecontroller/1619531-openparentapplication

WCconnectivity , .

0

Source: https://habr.com/ru/post/1659794/


All Articles