Changes

Jump to: navigation, search

Configuring Preferences with the WatchKit Settings Bundle

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>
Figure 16-8
<googlehtmlet>BUY_WATCHKITwatchos2_upgrade</googlehtmlet>
Assuming a Boolean preference with an identifier of font_preference and an app group identifier of group.com.ebookfrenzy.MySampleApp, the code to access the preference setting from within either the iOS app or the WatchKit extension would read as follows:
<googlehtmlet>BUY_WATCHKITwatchos2_upgrade</googlehtmlet>

Navigation menu