CPApplicationDelegate.ShouldRequestHealthAuthorization(UIApplication) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The system calls this method when the developer's app should ask the user for access to HealthKit data.
[Foundation.Export("applicationShouldRequestHealthAuthorization:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void ShouldRequestHealthAuthorization (UIKit.UIApplication application);
abstract member ShouldRequestHealthAuthorization : UIKit.UIApplication -> unit
override this.ShouldRequestHealthAuthorization : UIKit.UIApplication -> unit
Parameters
- application
- UIApplication
Reference to the UIApplication that invoked this delegate method.
- Attributes