finishProject(completionHandler:)
finishProject(completionHandler:)
finishProject(completionHandler:) Instance Method of PHProjectExtensionController Provides an opportunity to perform cleanup when a user switches away from the project or terminates the extension.
func finishProject(completionHandler completion: @escaping @Sendable () -> Void)Parameters
completion
A completion handler to execute before exiting the extension.
Discussion