Edit

Share via


CPApplicationDelegate.ShouldRequestHealthAuthorization(UIApplication) Method

Definition

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

Applies to