so i am trying to "force" my user to accept some data sharing in order to be able to use my app (he can decline but then he wouldn't be able to use the app that is based on these authorizations), so I wanna manually check all the authorization that are necessary for the app to work, and send the user to the setting authorization of my app in health app settings.
So as I found I should use this in order to open the settings sources items :
DispatchQueue.main.async {
UIApplication.shared.open(URL(string: "App-Prefs:HEALTH&path=SOURCES_ITEM")!)
}
So it opens this page
But I would like to open the SunsetWorkout app source page, I tried to add
path=SOURCES_ITEM/SunsetWorkout
path=SOURCES_ITEM.SunsetWorkout
path=SOURCES_ITEM_SunsetWorkout
path=SOURCES_ITEM/SUNSETWORKOUT
path=SOURCES_ITEM.SUNSETWORKOUT
path=SOURCES_ITEM_SUNSETWORKOUT
but none of this works, I couldn't find any documentation about the path to construct, anyone knows how it works ?
