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:

  1. 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.
  2. when user launches app glance, main interface controller receive handleuseractivity: message containing info passed in step 1.

Comments

Popular posts from this blog

java - pagination of xlsx file to XSSFworkbook using apache POI -

Unlimited choices in BASH case statement -

apache - How do I stop my index.php being run twice for every user -