---
title: "reloadExtension(withIdentifier:completionHandler:)"
framework: callkit
role: symbol
role_heading: Instance Method
path: "callkit/cxcalldirectorymanager/reloadextension(withidentifier:completionhandler:)"
---

# reloadExtension(withIdentifier:completionHandler:)

Asynchronously reloads the extension with the specified identifier.

## Declaration

```swift
func reloadExtension(withIdentifier identifier: String, completionHandler completion: (@Sendable ((any Error)?) -> Void)? = nil)
```

```swift
func reloadExtension(withIdentifier identifier: String) async throws
```

## Parameters

- `identifier`: The identifier for the call extension.
- `completion`: A block to be executed when the manager is finished reloading the specified extension.

## Discussion

Discussion important: You can call this method from synchronous code using a completion handler, as shown on this page, or you can call it as an asynchronous method that has the following declaration: func reloadExtension(withIdentifier identifier: String) async throws For information about concurrency and asynchronous code in Swift, see Calling Objective-C APIs Asynchronously.

## See Also

### Working with a Call Directory App Extension

- [getEnabledStatusForExtension(withIdentifier:completionHandler:)](callkit/cxcalldirectorymanager/getenabledstatusforextension(withidentifier:completionhandler:).md)
- [CXCallDirectoryManager.EnabledStatus](callkit/cxcalldirectorymanager/enabledstatus.md)
