Reputation: 21
We have a couple notifications in our iOS app that have actions (initiate a call and open another iOS application on phone) that don't translate well when showing on the Apple Watch.
I've looked to see about a specific UIUserNotificationActionContext
for the watch (instead of using default or minimal) and I've also looked to see if I can change the category when the notification is fired in my custom notification interface controller (Dynamic Interface). No luck.
I'll go down the path of a Handoff to my iOS phone app if all else fails, but that isn't optimal since many users won't understand the Swipe Up/Unlock steps of Handoff.
I'd rather just hide those buttons for now and wait to see if iOS9 has more open support.
Upvotes: 2
Views: 287
Reputation: 3503
No, you cannot have different actions, they all must be defined in the parent app's appDelegate with UIMutableUserNotificationAction
and UIMutableUserNotificationCategory
and therefore shared with the watch app.
Upvotes: 4