ios - How to turn off automatic install of Apple Watch extension? -
we looking @ adding apple watch extension our current ios app. 1 of requirements watch extension not automatically installed on user's watch upon update of ios app. security reasons ask user enable extension on watch.
i know there setting enable/disable individual watch extensions, don't know if , how can programmatically changed. third answer on thread leads me think possible https://discussions.apple.com/thread/7026092 extensive googling didn't give me clear answer.
thanks!
this beyond control. only user can choose whether automatically install new watchkit
apps on watch automatically or not, , think best solution.
it seems me should reconsider why it's necessary app force user manually install watchkit
app through ios app. shouldn't necessary.
however if is, apple update watchkit
@ wwdc , might introduce option let parent app decide whether automatically install watchkit
app or not. these pure speculations though, , can follow wwdc here.
if not, can employ sort of workaround. example set shared app group
, shared user defaults
. when main app launches can ask whether activate watchkit
app, , set bool
in shared user defaults
. when watchkit
app launches, check bool
, if user hasn't said yes yet, cover interface
label
tells user go main app first.
Comments
Post a Comment