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

Popular posts from this blog

python - TypeError: start must be a integer -

c# - DevExpress RepositoryItemComboBox BackColor property ignored -

django - Creating multiple model instances in DRF3 -