从 Apple Watch 访问解析当前用户

Access parse current user from Apple Watch

我正在申请 Apple Watch。

我成功链接了我的手表扩展以进行解析。但是,我无法访问存储在 phone 上的解析数据。(在我的例子中 PFUser.currentuser() )

获得当前用户的最佳方式是什么?

Parse SDK 1.7.2 现已发布,我觉得这正是您正在寻找的。
它全面支持与 App Extensions 和 Apple Watch Apps 共享数据。

在此博客中阅读更多内容 post http://blog.parse.com/announcements/introducing-local-data-sharing-for-apple-watch-and-app-extensions/

或在有关如何设置它的文档中:https://parse.com/docs/ios_guide#extensions/iOS