Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

WatchOS2 Watch Connectivity still require app groups in capabilities?

In the old WatchOS1, app groups was required for any sharing of data.

In WatchOS2, Watch Connectivity replaces the old framework for communication.

I was wondering if app groups is still needed?

like image 388
Jacky Wang Avatar asked Jun 18 '15 02:06

Jacky Wang


People also ask

How does Apple Watch send data to iPhone?

Watch Connectivity allows you to send data between your Watch app and its companion iPhone app when both devices are within Bluetooth range or on the same Wi-Fi network.

What is a WatchKit extension?

The WatchKit framework provides infrastructure for creating watchOS apps, including an extension delegate that manages background tasks, extended runtime sessions, and Siri intents. The framework also performs other support tasks, such as accessing information about the user's Apple Watch.


1 Answers

No, app groups will not help with sharing data between your iOS app and the WatchKit extension. You might however need to use an app group between the WatchKit app and the WatchKit extension as some of the media playing APIs seem to run in the app process.

like image 62
ccjensen Avatar answered Oct 10 '22 04:10

ccjensen