Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IQmediapickerController not supporting iCloud PHAssets (videos) #42

Open
OfirMalach opened this issue Jan 8, 2020 · 0 comments
Open

Comments

@OfirMalach
Copy link

OfirMalach commented Jan 8, 2020

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;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant