IQMediaPickerController
IQMediaPickerController copied to clipboard
IQmediapickerController not supporting iCloud PHAssets (videos)
Some PHAssets returns url = nil (or assetIdentifier = nil) I got notice about it from users using videos that backup on iCloud. Is there any quick solution?
Those error codes might help:
FAILED - PHASSET NOT CONTAIN URL:
PHImageErrorKey = "Error Domain=NSCocoaErrorDomain Code=-1 \"(null)\"";
PHImageResultIsDegradedKey = 0;
PHImageResultIsInCloudKey = 1;
PHImageResultRequestIDKey = 483; (or 160)
WHEN SUCCESS - PHASSET CONTAIN URL:
PHImageFileSandboxExtensionTokenKey = "6fa17....00000000000001b;com.apple.avasset.read-only;01;/private/var/mobile/Media/DCIM/100APPLE/IMG_0386.MOV";
PHImageResultDeliveredImageFormatKey = 20000;
PHImageResultIsInCloudKey = 0;
PHImageResultWantedImageFormatKey = 20002;