<!--
{
  "availability" : [
    "iOS: 18.2.0 -",
    "iPadOS: 18.2.0 -",
    "macCatalyst: 18.2.0 -",
    "visionOS: 2.2.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AVFAudio",
  "identifier" : "/documentation/AVFAudio/AVAudioApplication/requestMicrophoneInjectionPermission(completionHandler:)",
  "metadataVersion" : "0.1.0",
  "role" : "Type Method",
  "symbol" : {
    "kind" : "Type Method",
    "modules" : [
      "AVFAudio"
    ],
    "preciseIdentifier" : "c:objc(cs)AVAudioApplication(cm)requestMicrophoneInjectionPermissionWithCompletionHandler:"
  },
  "title" : "requestMicrophoneInjectionPermission(completionHandler:)"
}
-->

# requestMicrophoneInjectionPermission(completionHandler:)

Requests the app’s permission to add audio to calls.

```
class func requestMicrophoneInjectionPermission(completionHandler response: @escaping @Sendable (AVAudioApplication.MicrophoneInjectionPermission) -> Void)
```

```
class func requestMicrophoneInjectionPermission() async -> AVAudioApplication.MicrophoneInjectionPermission
```

## Discussion

The system immediately returns a response if a person has already granted or denied the app permission, or if the service is in a disabled state.  Otherwise, it presents a dialog to request permission and returns a result when a person dismisses the UI.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)