Transfer my application from WatchOS1 to WatchOS2

I am transferring my application from WatchOS1 to WatchOS2. I shared data on Watch OS1 using an application group using basic data, so I need the same functionality on OS2. How can I achieve the same functionality?

+5
source share
1 answer

Unfortunately. You cannot use an application group to exchange data between the watchkit extension and its companion application. You must use WatchConnectivity to exchange data to view OS2. And this is a completely different approach with the application group.

The WatchOS2 application extension is not installed on the watch itself the way the OS1 application extension was installed on the iPhone. Thus, the general application group on watchOS2 is used to exchange data between other os2 applications for watches that are provided by the same provider.

+3
source

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


All Articles