<!--
{
  "availability" : [
    "iOS: 18.0.0 -",
    "iPadOS: 18.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "ContactProvider",
  "identifier" : "/documentation/ContactProvider/ContactProviderManager/enable()",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "ContactProvider"
    ],
    "preciseIdentifier" : "s:15ContactProvider0aB7ManagerC6enableyyYaKF"
  },
  "title" : "enable()"
}
-->

# enable()

Requests the person using the app to enable the extension domain.

```
func enable() async throws
```

## Discussion

If necessary, this call waits for the person using the app to explicitly approve or deny using the extension domain.

> Throws: `ContactProviderError.deniedByUser` if the person dismisses the prompt without enabling the extension domain.

---

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)