I would like to check if the user has granted my app permission to read data from HealthKit. I am aware that the official documentation reads that it's not possible due to privacy reasons, however apps like Google Fit or Garmin Connect do it somehow and Garmin Connect event shows a button that redirects to Settings -> Privacy & Security -> Health: Garmin Connect Google Fit
How do they do that? Some kind of hack or special permissions from Apple?