3
votes

Are HealthKit permissions needed from BOTH iOS and WatchOS?

I'm requesting authorization from watchOS which in-turn guides user to open the iOS app to acquire permissions. To transfer information I am using WatchConnectivity by creating a WCSession between the two devices.

Is it enough to present permissions from watch only?

1

1 Answers

2
votes

Your iOS app must implement applicationShouldRequestHealthAuthorization(_:) in its application delegate and call handleAuthorizationForExtension(completion:) on an HKHealthStore to complete the authorization request made by your iOS app. More details are available in the documentation here.