NSURL(ASPhotosFrameworkURLs) Category Reference

Declared in ASMultiplexImageNode.h

+ URLWithAssetLocalIdentifier:targetSize:contentMode:options:

Create an NSURL that specifies an image from the Photos framework.

+ (NSURL *)URLWithAssetLocalIdentifier:(NSString *)assetLocalIdentifier targetSize:(CGSize)targetSize contentMode:(PHImageContentMode)contentMode options:(PHImageRequestOptions *)options

Discussion

When implementing -multiplexImageNode:URLForImageIdentifier:, you can return a URL created by this method and the image node will attempt to load the image from the Photos framework.

Note: The synchronous flag in options is ignored.

Note: The Opportunistic delivery mode is not supported and will be treated as HighQualityFormat.

Declared In

ASMultiplexImageNode.h