Contents

resumeProject(with:completion:)

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

Declaration

func resumeProject(with extensionContext: PHProjectExtensionContext, completion: @escaping  @Sendable ((any Error)?) -> Void)
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