Reads the user’s biological sex from the HealthKit store.
- iOS 8.0+
- watchOS 2.0+
On input, a pointer to an error object. If an error occurs, this pointer is set to an actual error object containing information about the error. Specify
nilfor this parameter if you do not want to receive error information.
A biological sex object containing information about the user’s biological sex.
If the user has not yet set his or her biological sex or if they have denied your app permission to read the biological sex, this method returns an