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

android - net_scheduler holding wakelock -

sql - MySQL : Getting Entries from a many-to-many table -

java - Retrieving data from database using jsp (Hibernate + Spring + Maven) -