resumeProject(with:completion:)

resumeProject(with:completion:)

resumeProject(with:completion:) Instance Method of PHProjectExtensionController Provides an opportunity to restore or refresh the user interface when the user returns to a previously created project.

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

Parameters

extensionContext

The extension context with access to the project assets.

completion

A completion handler to execute upon returning to the extension.

Discussion