swift - Capturing user click in glance? -
is there way capture when user clicks/presses glance? action throws them watchapp. i'd intercept click before going main app.
i'm running glance in watch simulator.
per app programming guide watchos:
- at time while glance active (ideally, possible, since don't know how long glance remain active), call
updateuseractivity:userinfo:webpageurl:whatever cue want pass along app. - when user launches app glance, main interface controller receive
handleuseractivity:message containing info passed in step 1.
Comments
Post a Comment