Responding to User Actions in Push Notifications

Given that the ideal watch app allows your users to unlock their iPhones less, one of the best things you can offer them is actionable push notifications. Sometimes all you need from the user is a single tap of a button. Consider a social networking app where users can send invitations to events. If your app sends a push notification saying that your user has received an invitation, you could offer Accept and Decline buttons right in the notification. Then, without needing to open your app at all, the user has taken care of the task right then and there.

Registering Categories

The key to actionable notifications is the concept of categories. You’ll give your notifications categories—arbitrary ...

Get Developing for Apple Watch now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.