Nothing to do with networking is ever “basic” |-: [quote='788567021, Cassian93, /thread/788567, /profile/Cassian93'] [what’s] the best way to take consenting users' Watch data from Apple Health Kit and send it to our central server? [/quote] The best approach depends on the networking protocol spoken by your server. Presuming it’s HTTPS, I generally recommend using URLSession directly from your app. URLSession supports two style of session: Standard sessions Background sessions A standard session is best for small amounts of data where latency is critical. A background session is best for situations where latency isn’t such a big deal, or where you have a lot of data to upload. URLSession is one of our better documented APIs. Start with URL Loading System. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
Topic:
App & System Services
SubTopic:
Networking
Tags: