I\'m currently using Healthkit in an app and have no problems getting info for most types, but am having trouble with the Heart Rate. Every time I try to read a sample, I get \
if you want to get averageQuantity ask for it in your HKStatisticsQuery options. otherwise it will always be nil (ie. not calculated):
options parameter should be set to HKStatisticsOptionDiscreteAverage, NOT
HKStatisticsOptionNone