Questions tagged photokit

Explore the latest questions and answers asked by our top developers.

How to Not fetch screenshots from Photos library iOS

I am trying to fetch Photos from Photo library and I want to show only images from the Photo Library. I do not want to show videos. I am using PHFetchOptions to fetch PHAssets from Photos library. Also I have provided a predicate to fetch only the photos. Below is my code: let allPhotosOptions = […]

By FE Tech
Categorised as ios, nspredicate, photokit, swift Tagged , , ,

MacOS PhotoKit – List all user-created Smart Albums?

I’ve started playing around with macOS development for the first time. I’m trying to query the list of Smart Albums I’ve created in the macOS Photos app. As you can see in this screenshot, I’ve defined 18 Smart Albums and 1 regular Album. However, when I fetch the Smart Album PHAssetCollections I do not see […]

By Shadowman
Categorised as macos, phassetcollection, photokit, swift

Still Have Questions?

Our dedicated development team is here for you!

We can help you find answers to your question for as low as 5$.

Contact Us