advertises live photo to action extensions which then can't be accessed

Number:rdar://29924331 Date Originated:09-Jan-2017 10:25 AM
Status:Open Resolved:
Product:iOS Product Version:10.2
Classification:Serious Bug Reproducible:Always
When using the to share a Live Photo to an Action Extension, the extension system tells the extension that a live photo is there but it then can't be accessed.

Steps to Reproduce:
- Install the sample project on an actual device / run the ImageSharing target on that device
- Go to
- Open a Live Photo
- Tap the action button
- Tap the ImageSharing action extension

Expected Results:
The image is shown in the appearing view controller from the action extension.

Actual Results:
An error is shown, telling you that the item received was (null)

The issue here is that `[itemProvider hasItemConformingToTypeIdentifier:(NSString *)kUTTypeLivePhoto]` returns `YES` but `loadItemForTypeIdentifier:(NSString *)kUTTypeLivePhoto options:nil completionHandler:...` calls the completion handler with a nil item.



Sample Code

By michaelhochs at Jan. 9, 2017, 9:27 a.m. (reply...)

Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!