---
title: "resumeProject(with:completion:)"
framework: photosui
role: symbol
role_heading: Instance Method
path: "photosui/phprojectextensioncontroller/resumeproject(with:completion:)"
---

# resumeProject(with:completion:)

Provides an opportunity to restore or refresh the user interface when the user returns to a previously created project.

## Declaration

```swift
func resumeProject(with extensionContext: PHProjectExtensionContext, completion: @escaping @Sendable ((any Error)?) -> Void)
```

```swift
func resumeProject(with extensionContext: PHProjectExtensionContext) async throws
```

## Parameters

- `extensionContext`: The extension context with access to the project assets.
- `completion`: A completion handler to execute upon returning to the extension.

## See Also

### Tracking the Project Extension Life Cycle

- [beginProject(with:projectInfo:completion:)](photosui/phprojectextensioncontroller/beginproject(with:projectinfo:completion:).md)
- [finishProject(completionHandler:)](photosui/phprojectextensioncontroller/finishproject(completionhandler:).md)
- [typeDescriptionDataSource(for:invalidator:)](photosui/phprojectextensioncontroller/typedescriptiondatasource(for:invalidator:).md)
