watchconnectivity Questions

2

Solved

Context I am building a watchOS app for iOS app (i.e. it's not an independent watchOS app) with Xcode 12.3. My watchOS app needs to send little chunks of data (structs containing a string and a dat...
Navelwort asked 1/1, 2021 at 15:15

2

Solved

I am using WatchConnectivity framework to receive a string from my app. Here is how I send the string in Obj-C from the app: -(void) viewDidLoad { //WATCHKIT WCSession* session = [WCSession def...
Wichman asked 1/2, 2016 at 14:28

3

Solved

I have an iPhone app that sends data from the iPhone app directly to the watch face to be displayed as a complication. I use the WatchConnectivity framework to create a WCSession to send the data ...

1

I'm working on an iOS app that must send updates to the Apple Watch app using a WCSession. It's working flawlesly in the iOS/Watch simulators, but not in real devices. When I try to send a message...
Vergos asked 25/6, 2018 at 21:44

1

Solved

I'm trying to create an iOS WatchOS5 complication and am seeing a number of tutorials and apple documentation. They talk about: WatchKit App WatchKit App extension What is the difference betw...

2

I'm working on an app that share data between iPhone and Apple Watch, using WCSession method sendMessage:replyHandler:errorHandler: After implementing that method I get the error like: WCSession ...
Haeckel asked 10/2, 2017 at 4:22

2

In my project, I use Watch Connectivity to send messages to and from the Watch and iPhone. I can send a message to the phone and receive an array of strings when launching the app, however when usi...
Mcneely asked 15/9, 2016 at 16:2

4

I have just set up WCConnectivity in my app using tutorials/sample code and I feel I have it implemented correctly. I am not using the simulator to test. For some reason, the didReceiveApplicationC...
Pronucleus asked 7/3, 2016 at 21:32

1

Solved

[Disclaimer: this question is intended to be a wiki question to answer the frequent questions about sending data between the iOS and watch apps under the watchkit and watch-os tags.] I am developi...
Snuggle asked 3/8, 2017 at 15:48

0

I've having issues synchronizing user credentials between iOS and watchOS. My basic set up is that my iOS app and watchOS app both need to talk to a backend server, and they both need an access t...
Stearns asked 28/2, 2017 at 18:50

2

Solved

I want to update my watch app state in background from iPhone, using session.updateApplicationContext(applicationContext). Sending an application contact while the app on the watch is active does...
Ecology asked 10/11, 2016 at 21:8

0

I'm receiving the following error when sending any kind of http request from my WatchKit Extension: WatchKit Extension[6128:479936] [WC] __33-[WCXPCManager onqueue_reconnect]_block_invoke error re...
Weisler asked 25/7, 2016 at 17:51

0

I've searched the web high & low to find a solution. WatchOS has the ability to use the stock camera app from the iPhone & stream in almost realtime to the stock watchOS camera app. H...
Caco asked 3/5, 2016 at 10:18

3

Solved

In watchOS 2, there are no more shared keychains. If I want to send a keychain value from the iOS app to the Watch app, is it safe to send it via WCSession updateApplicationContext?
Malefaction asked 28/1, 2016 at 22:19

2

So I am using Watch Connectivity to request an array from the iPhone to the Watch. The idea was to sendMessage from the watch, and the iPhone will reply with the array within the didReceiveMessag...
Hoon asked 2/2, 2016 at 18:15

1

Solved

When sending data using the WatchConnectivity framework, either from the phone to the watch or vice-versa, how big can the payload be before the framework gives me the WCErrorCodePayloadTooLarge er...
Regal asked 8/10, 2015 at 21:4

3

Solved

In my iOS application I use Core Data to store data and a fetch request to create an array of NSManagedObjects to display in a UITableView. On the Watch OS I check if WCSession is supported and a...
Maneuver asked 18/12, 2015 at 22:51

1

Solved

Several of the good blog posts detailing Watch Connectivity (http://www.kristinathai.com/watchos-2-tutorial-using-application-context-to-transfer-data-watch-connectivity-2/ and http://natashatherob...
Locker asked 21/10, 2015 at 19:15

1

Is the applicationContext encrypted? Or is it simply stored as an unencrypted plist file? Because if it's the latter, I shouldn't be transferring access tokens using that.
Jackhammer asked 13/9, 2015 at 5:24
1

© 2022 - 2024 — McMap. All rights reserved.