Constants indicating the user’s sex.


enum HKBiologicalSex : Int


A person's sex is a combination of bodily characteristics including: chromosomes, hormones, internal and external reproductive organs, and secondary sex characteristics.



case notSet

A constant indicating that either the user’s biological sex characteristic type is not set, or the user has not granted your app permission to read that characteristic type.

case female

A constant indicating that the user is female.

case male

A constant indicating that the user is male.

case other

A constant indicating that the user is otherwise not categorized as either male or female.

See Also

Possible Values

class HKBiologicalSexObject

This class acts as a wrapper for the HKBiologicalSex enumeration.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software