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

Originator:steipete
Number:rdar://30098356 Date Originated:19-Jan-2017 06:31 PM
Status:Open Resolved:
Product:iOS Product Version:10.2
Classification:Serious Bug Reproducible:Always
 
Summary:
When using the Photos.app 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 Photos.app
- 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)

Regression:
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.

Notes: This is a duplicate of rdar://29924331

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com 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!