PHLivePhoto keyframe rotated 90 degrees counterclockwise when providing non-zero targetSize:

Originator:jackson.deane
Number:rdar://26044626 Date Originated:05/02/2016
Status:Open Resolved:
Product:iOS Product Version:9.1
Classification: Reproducible:Always
 
Summary:
When loading a PHLivePhoto with requestLivePhotoWithResourceFileURLs: and providing a targetSize that is not CGSizeZero the keyframe for the Live Photo is rotated 90 degrees counterclockwise.

When 3D touching or long-pressing to play the Live Photo the playback is the correct orientation.

Steps to Reproduce:
Attempt to load a local Live Photo with requestLivePhotoWithResourceFileURLs with a targetSize value that is greater than (0,0).  Display the fetched PHLivePhoto in a PHLivePhotoView.

Expected Results:
The keyframe image has the same orientation as the full Live Photo.

Actual Results:
The keyframe is rotated 90 degrees counterclockwise.

Version:
iOS 9.1

Configuration:
iPhone 6S

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!