HealthKit.BiologicalSex
-----------------------

Queries the user's biological sex.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [HealthKit](component_HealthKit.md) | [8.2](newinversion82.md) | ❌ No | ❌ No | ❌ No | ❌ No | ✅ Yes |

MBS( "HealthKit.BiologicalSex" ) ### Parameters

none

### Result

Returns sex value or error.

### Description

Queries the user's biological sex.  
Before calling this function, the application should request authorization to access objects with the BiologicalSex type.  
Returns error message, NotSet, Female, Male or Other.  
### Examples

Show sex:

 Show Custom Dialog \[ "Biological Sex" ; MBS ( "HealthKit.BiologicalSex" ) \]  
This function is free to use.

Created 25th April 2018 , last changed 25th April 2018

  
[HealthKit.AuthorizationStatusForType](HealthKitAuthorizationStatusForType.md) - [HealthKit.BloodType](HealthKitBloodType.md)

[HTML Version](HealthKitBiologicalSex.shtml)