Top "Photokit" questions

PhotoKit (also known as Photos Framework) is a framework that allows you to retrieve assets for display and playback, edit their image or video content, or work with collections of assets such as albums, moments, and iCloud Shared Albums.

Given a CIImage, what is the fastest way to write image data to disk?

I'm working with PhotoKit and have implemented filters users can apply to photos in their Photo Library. I am currently …

ios swift ciimage uiimagejpegrepresentation photokit
How to fetch album poster image using Photo Kit?

When using Assets Library you could fetch the album's poster image from ALAssetsGroup. How do you achieve the same when …

ios photokit
Get URL of a newly created asset, iOS 9 style

ALAssetsLibrary is deprecated these days but practically all examples on SO are still making use of it. For my objective, …

ios swift alassetslibrary photokit
How do I determine if a PHAsset in a PHFetchResult represents a deleted photo?

I'm trying to grab a thumbnail of the last photo taken on a device using the new Photos framework in …

ios photokit phasset
CRASH attempt to delete and reload the same index path

CollectionViewController.m line 439 __50-[CollectionViewController photoLibraryDidChange:]_block_invoke Fatal Exception: NSInternalInconsistencyException attempt to delete and reload the same index path ( {…

ios objective-c ios8 collectionview photokit
How to access NSData/NSURL of slow motion videos using PhotoKit

Working with new Photo framework, I can access the NSData of PHAssets using requestImageDataForAsset. I can also access the file …

ios photokit phasset