Changes

Jump to: navigation, search

WatchKit App and Parent iOS App Communication

12 bytes added, 21:00, 1 February 2016
m
Text replacement - "<google>BUY_WATCHKIT</google>" to "<htmlet>watchos2_upgrade</htmlet>"
<googlehtmlet>BUY_WATCHKITwatchos2_upgrade</googlehtmlet>
Although the parent iOS app is not automatically suspended when the user is no longer interacting with the matching WatchKit app, there are still situations where the iOS app running in the background may be suspended or terminated by the iOS operating system. There are a number of ways to mitigate this risk depending on whether the tasks being performed by the iOS app on behalf of the WatchKit app are short or long-term in nature.
<googlehtmlet>BUY_WATCHKITwatchos2_upgrade</googlehtmlet>
=== Using the beginBackgroundTaskWithName Method ===
<googlehtmlet>BUY_WATCHKITwatchos2_upgrade</googlehtmlet>

Navigation menu