Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a way to extract user’s full name from HealthKit in Swift?

Tags:

ios

healthkit

I am trying to build a fitness app and I would like to build the user’s profile within the app but I would like to make it as quick and easy as possible for the user. I am able to extract the users stats such as height, body mass, birth date etc from HealthKit but is there a way for me to extract the user’s full name since the ios health app has this on it’s profile page.

I have sifted through the documentation, but so far I haven’t found anything.

like image 965
Cris Denopol Avatar asked Nov 16 '25 20:11

Cris Denopol


1 Answers

no there is no api AFAIC.

you can ask for addressbook access and read the 'me' contact

like image 131
Daij-Djan Avatar answered Nov 18 '25 11:11

Daij-Djan



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!