Can anyone assist with the Swift code for authorizing access to the Health Kit data? Everything I'm finding is over two years old and written in Objective C. I'm having problems with with getting the parameters of requestAuthorization. I'm new to Swift and taking online tutorials but they do not cover Health Kit. I'm only interested in reading data and not changing it.
Any guidance you can provide is so greatly appreciated.