i cannot access healthstore, “requestauthorizationtosharetypes” returns false on apple watch. no promt on device pops up. works on simulator.
here code accessing healthstore
healthstore.requestauthorizationtosharetypes(nil, readtypes: datatypes) { (success, error) -> void in if success != true {//returns false self.label.settext("not allowed") } } i’m using xcode 7.0 beta 3, watchos 2 beta 3
i have red can't access healthkit on watchos 2 beta 3 problem different. have no errors on console.
update. after updating latest beta 4 (xcode, iphone app , watch os) watch app don’t load up. wheel spinning. app loads in simulator.
Comments
Post a Comment