ios - Can I access healthkit data from iWatch extension? -
i making iwatch app need show data healthkit. possible access healthkit apis iwatch extension?
no. it's mentioned in healthkit framework reference:
"you cannot access healthkit extensions (like today view) or watchkit app."
what can call openparentapplication:reply: talk iphone app , retrieve data. search around method name , you'll find examples on how call , data watch it.
update: others have mentioned below, has changed watchos 2. documentation has not been updated yet, check out wwdc 2015 videos healthkit , watch snippets of code can use xcode 7 beta.
Comments
Post a Comment