Changes

Jump to: navigation, search

An Overview of Notifications in watchOS 2

187 bytes added, 19:55, 27 October 2016
m
Text replacement - "<table border="0" cellspacing="0">" to "<table border="0" cellspacing="0" width="100%">"
<googlehtmlet>BUY_WATCHOS2watchos2</googlehtmlet>
[[Image:watchkit_default_long_look.png]]
Figure 32-1
[[Image:watchkit_notification_actions.png]]
Figure 32-2
As previously outlined, a notification can appear either on the iPhone device or the paired Apple Watch. When a notification action on an Apple Watch is selected by the user, the handler method that gets called will depend on whether the notification was remote or local in origin and whether the notification action was configured for background or foreground mode.
<googlehtmlet>BUY_WATCHOS2watchos2</googlehtmlet>
When a remote notification appears on the Apple Watch and the user selects a background notification action, the following method is called on the application delegate of the containing iOS app:
[[Image:watchkit_add_notification.png]]
Figure 32-3
[[Image:watchkit_custom_notification_storyboard.png]]
Figure 32-4
[[Image:watchkit_notification_category.png]]
Figure 32-5
<googlehtmlet>BUY_WATCHOS2watchos2</googlehtmlet>
 
<htmlet>ezoicbottom</htmlet>
<hr>
<table border="0" cellspacing="0" width="100%">

Navigation menu