Top "Phasset" questions

A `PHAsset` is an object in the iOS Photos Framework (aka PhotoKit) that represents an image or video file on the iOS device.

PHAsset to UIImage

I'm attempting to create a UIImage (like a thumbnail or something) from a PHAsset so that I can pass it …

swift phasset
iOS8 Photos Framework: How to get the name(or filename) of a PHAsset?

Im trying to get the image name using PHAssets. But I couldn't find metadata for filename or any method to …

ios phasset
NSURL from PHAsset

I'm converting our app over to use the Photos Framework of iOS8, the ALAsset framework is clearly a second class …

ios8 alassetslibrary photosframework phasset
Save images with phimagemanager to custom album?

I am making an app that takes pictures with AVFoundation and I want to save them to a custom album …

ios swift uiimage ios8 phasset
How to get URL for a PHAsset?

I am using a third party library to select multiple images from the Photo Library. On selecting multiple images it …

ios core-data phasset
How to get an ALAsset URL from a PHAsset?

You can do it sneakily† using the undocumented PHAsset.ALAssetURL property, but I'm looking for something documented. † In Objective-C, this …

ios8 alassetslibrary alasset photokit phasset
Save image to photo library using photo framework

My app crashes every time when I try to save image using photo framework. -(void)imagePickerController:(UIImagePickerController *)picker didFinishPickingMediaWithInfo:(…

ios objective-c ios8 photokit phasset
How to fetch all images from custom Photo Album - Swift

How to fetch all images from custom Photo Album? var fetchOptions = PHFetchOptions() fetchOptions.sortDescriptors = [NSSortDescriptor(key:"creationDate", ascending: false)] fetchOptions.…

ios swift photo phasset
Get the local file path of a PHAsset

I have a photo I want my user to be able to share on Instagram and I need to get …

ios swift instagram phasset photosframework
PHAsset get original file name

I wonder if there any way to get the original file name using PHAsset? I use the following code to …

ios objective-c ios8 phasset