如何将apple watch的加速度计数据写入iphone的纪录片?

How to write Accelerometor data of apple watch to iphone's Documentary?

  1. 我从 Apple Watch 读取 Accel(传感器)数据,想用 Matlab 分析它。所以,我尝试以“.txt”的形式将它下载到iphone的纪录片中。

  2. 现在不知道怎么把Apple watch的数据写入iPhone?

  3. Apple提供的"share groups"貌似可以,但是只能写key-value,不知道能不能写".txt"?

期待您的回答。

共享组只能在 WatchOS1 上用于共享,在 WatchOS2 上扩展程序只能在手表上使用,而不是在 iPhone 上。您可以使用 WatchConnectivity 传输数据或文件 http://www.natashatherobot.com/watchconnectivity-say-hello-to-wcsession/