Post

Replies

Boosts

Views

Activity

healthStore.requestauthorization() crashes when called
I'm trying to collect health data in my Apple Watch application but when I call healthStore.requestAuthorization my app always crashes. I have set NSHealthShareUsageDescription and NSHealthUpdateUsageDescription in Info.plist as required but it still crashes. I started a new project and am just trying to request authorisation, there is no other functionality that could affect it. Any ideas why this is? Thanks for any help.
4
0
2.4k
Feb ’20