Questions tagged watchconnectivity

Explore the latest questions and answers asked by our top developers.

Independent Watch App using the WatchConnectivity framework

Is it possible to use the WatchConnectivity framework when creating an independent watchOS app? The documentation https://developer.apple.com/documentation/watchkit/creating_independent_watchos_apps states, that “An independent app can use WatchConnectivity to transfer information from its iOS companion app when the iOS device is available…” But how do we send data between the iOS app and the watchOS app? The WCSession […]

By Renato Stauffer
Published
Categorised as ios, watchconnectivity, watchos

How can I diagnose and resolve a crash on WCSession sendMessage(_:replyHandler:errorHandler:)?

I’m building a watchOS app that needs to periodically request information from a companion iPhone app to refresh a complication. To achieve this, I have a WKApplicationRefreshBackgroundTask that runs periodically. It uses sendMessage(_:replyHandler:errorHandler:) from WatchConnectivity to request the information from the iPhone app, process the reply, and update the complication. This works reliably for many […]

By gohnjanotis
Published
Categorised as ios, watchconnectivity, watchkit, watchos, wcsession

Still Have Questions?


Our dedicated development team is here for you!

We can help you find answers to your question for as low as 5$.

Contact Us
faq