I would like to trigger an eye on the Apple Watch notification and the main app.
I know that they have to run in XCode and choose them directly, but I need to popup them from the program inside the main app
In my main app, I have There is a timer that today creates a popup to tell the user something to say I want this trigger to show a notification view on the apple clock with dynamic text. Now to keep it simple, suppose I have a button (IABTation). When the button is pressed in the main app, I would like to show a glance or show a notification view on the clock. I'm guessing that this is very easy to do, but it was able to work, even then
if you have some sample code that would be great!
Thanks for any help!
When the app receives remote or local information, then iOS automatically shows notification controllers
< P> But during development, you will see a notification or look by changing watch interface in the Watchkit App Schema . ( Edit schema -> (Under Notice) Change Watch Interface to Vision / Static Notification / Dynamic Notifications).However, to select the selection, Notification payload ( .apns file and set to notification payload when editing schema)
< P> Hope it helps!
No comments:
Post a Comment