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

photo from camera can not find the PHAssets #785

Open
ManInTheWind opened this issue Feb 27, 2023 · 3 comments
Open

photo from camera can not find the PHAssets #785

ManInTheWind opened this issue Feb 27, 2023 · 3 comments

Comments

@ManInTheWind
Copy link

ManInTheWind commented Feb 27, 2023

thanks this awesome project and the athor's hard work~

I just take a photo from camera but can not found the assets, that I can not get the path now. but I can find it at my album.

what should I do? thank you~

image

@ManInTheWind
Copy link
Author

ManInTheWind commented Feb 27, 2023

I resolved it, by delay 1s to fetch PHAssets🥹. its not easy and unconvenience. if anyone have better solutions pls let me know. many thanks💎🙏

@qky1412
Copy link

qky1412 commented Oct 17, 2023

I resolved it, by delay 1s to fetch PHAssets🥹. its not easy and unconvenience. if anyone have better solutions pls let me know. many thanks💎🙏

Hi~Can you tell me how to 'by delay 1s to fetch' here? I use DispatchQueue.main.asyncAfter, still getting nil from photo.asset.
Thx!

@ManInTheWind
Copy link
Author

ManInTheWind commented Oct 17, 2023

I resolved it, by delay 1s to fetch PHAssets🥹. its not easy and unconvenience. if anyone have better solutions pls let me know. many thanks💎🙏

Hi~Can you tell me how to 'by delay 1s to fetch' here? I use DispatchQueue.main.asyncAfter, still getting nil from photo.asset. Thx!

you should use DispatchQueue.global()

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

2 participants