Contents

bloodType()

Reads the user’s blood type from the HealthKit store.

Declaration

func bloodType() throws -> HKBloodTypeObject

Mentioned in

Return Value

A blood type object that contains information about the user’s blood type.

Discussion

If the user has not specified a blood type or if the user has denied your app permission to read the blood type, this method returns an HKBloodType.notSet value.

Topics

Possible Values

See Also

Reading characteristic data