beginProject(with:projectInfo:completion:)
Provides an opportunity to customize the initial state when the user creates a project using the extension.
Declaration
func beginProject(with extensionContext: PHProjectExtensionContext, projectInfo: PHProjectInfo, completion: @escaping @Sendable ((any Error)?) -> Void)func beginProject(with extensionContext: PHProjectExtensionContext, projectInfo: PHProjectInfo) async throwsParameters
- extensionContext:
The extension context with access to the project assets.
- projectInfo:
Information about the project the extension is called on.
- completion:
A closure with code you provide that runs on completion.