Question or problem in the Swift programming language:
When calling the HKHealthStore’s requestAuthorizationToShareTypes method, a modal permissions view is presented.
In my current app, requestAuthorizationToShareTypes is called when the user presses a button. When the automatic modal permissions view from HealthKit is presented (and dismissed), there is a visible black background behind it instead of the view controller from which it is displayed.
When presenting any other view modally in my application, this does not occur. Has anybody else had this experience or have any ideas of what I could try? Any help would be appreciated. Thanks!
How to solve the problem:
It’s a bug in iOS 9. You should file a bug with Apple.