Two questions:
Is this the correct approach? Items do seem to be downloaded from iCloud but I don't know how to track download progress.
How do I pick videos with PHPicker stored in iCloud?
How do I track iCloud download completion progress?
Code Block swift func picker(_ picker: PHPickerViewController, didFinishPicking results: [PHPickerResult]) { let type = "com.apple.quicktime-movie" results.first!.itemProvider.loadFileRepresentation(forTypeIdentifier: type) { url, error in let newURL = ... // copy item at url to a new location let asset = AVAsset(url: newURL) // display the video }
Is this the correct approach? Items do seem to be downloaded from iCloud but I don't know how to track download progress.