updatedProjectInfo(from:completion:)
updatedProjectInfo(from:completion:)
updatedProjectInfo(from:completion:) Instance Method of PHProjectExtensionContext Creates an updated PHProjectInfo instance from existing project information and current assets.
func updatedProjectInfo(from existingProjectInfo: PHProjectInfo?, completion: @escaping (PHProjectInfo?) -> Void) -> ProgressParameters
existingProjectInfo
The project information to update. If this is not nil, a new PHProjectInfo instance is created from all assets in the PHProject.
completion
A closure with code you provide that runs on completion.
Discussion