Contents

shared

The shared instance you use to send permission requests and receive responses.

Declaration

static let shared: AskCenter

Overview

Use this singleton instance to access all AskCenter functionality. The system maintains this shared instance across your app’s lifecycle and ensures consistent handling of permission requests and responses.

 let center = AskCenter.shared
 try await center.ask(permissionQuestion)