Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 10.1   10.2   10.3   10.4   10.5   11.0   11.1   11.2   11.3   11.4    Statistic    FMM    Blog  

HealthKit.BiologicalSex

Queries the user's biological sex.

Component Version macOS Windows Linux Server iOS SDK
HealthKit 8.2 ❌ 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" ) ]

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


HealthKit.AuthorizationStatusForType - HealthKit.BloodType

Feedback: Report problem or ask question.