Why can't I get read access to my HealthKit data?

I'm using Swift to write a simple iOS app to list my weight data, based losely on the "Fit" Objective-C example app. At first, I verified that I could get read permission to the data, but when I tried to do a query, the system complained that I needed write permission as well. I thought this odd, but I went back and included the NSHealthUpdateUsageDescription entry in the Info.plist file. Now the app asks for update permission, but not for read permission, and the query returns no records. Any clues?


Richard

Nevermind -- Operator error... MRTFM: Mis-Read the Fine Manual

I expected the first argument to be read access and the second to be write access...

requestAuthorization(toShare: nil, read: [bodyMassType], completion: aCompletionHandler(_:_:))

Why can't I get read access to my HealthKit data?
 
 
Q