当前位置: 动力学知识库 > 问答 > 编程问答 >

ios - Apple Watch Glance data from HTML

问题描述:

I have an app that retrieves some data from a HTML page, and then process this.

I would like some of this data to be visible on my Apple Watch on a Glance Page.

For some reason I can't get my head around how this works.

I've tried the basics with NSUserdefaults - initWithSuitName, enable App groups for my App, the Apple watch extensions and Apple Watch App, but every time I run the Glance in the Simulator, the NSUserdefaults appear to be empty?

分享给朋友:
您可能感兴趣的文章:
随机阅读: