Changes

Jump to: navigation, search

Configuring Preferences with the WatchKit Settings Bundle

42 bytes added, 19:58, 27 October 2016
m
Text replacement - "<table border="0" cellspacing="0">" to "<table border="0" cellspacing="0" width="100%">"
<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>
 
<htmlet>ezoicbottom</htmlet>
<hr>
<table border="0" cellspacing="0" width="100%">

Navigation menu