Reputation: 215
I have an Apple WatchOS2 app which I need to upgrade it to WatchOS 3. As there is no glance screen on WatchOS 3 anymore I'm not sure how to use the current glance screen to create automatic snapshot by calling scheduleSnapshotRefresh method in WKSnapshotRefreshBackgroundTask. Can I migrate the whole project from WatchOS 2 target to a WatchOS 3 target and apply changes to make it compatible with WatchOS 3?
Upvotes: 0
Views: 234
Reputation: 2347
This updates the view on awake.
You can also try updating the snap shot view when you receive a refresh task (WKSnapshotRefreshBackgroundTask).
https://developer.apple.com/reference/watchkit/wksnapshotrefreshbackgroundtask
Greg
Upvotes: 0