Interactive Pop Gesture at the same time as rotation breaks Action Extension

Originator:henriqueponde90
Number:rdar://19575838 Date Originated:01/22/2015
Status:Closed Resolved:Yes
Product:iOS SDK Product Version:8.1.2
Classification:Serious Bug Reproducible:Always
 
Link to project: https://www.dropbox.com/s/1sf27na0nj0c0m2/Test.zip?dl=0

Summary:
When you are in an Action Extension in a navigation controller and you swipe from the left using the interactive pop gesture and stop halfway and rotate the device, rotation will happen and the layout is completely broken.

The same on a normal app does not happen, rotation does not happen. The pop will get canceled and then the rotation will happen

Steps to Reproduce:
Open my attachment and build it
Go to Photos app and select a photo and tap the TestActionExtension action extension (you will have to enable it)
Tap the "Test" cell so that it pushes a view controller and you can do the interactive pop gesture to pop the top view controller (the swipe from the left)
If you stop half way, still holding the screen and rotate the device the layout is now completely broken. Sometimes even nav bar button items won't work anymore.
The same does not happen on the "Test" app in the same project

Expected Results:
Expected it to behave like the main app, where rotation does not happen and pop is canceled and rotation happens afterwards.

Actual Results:
Rotation happens as you rotate (while still holding the screen) and then the layout is completely broken.

Version:
iOS 8.1.2

Notes:


Configuration:
iPhone 6 64GB

Attachments:
'Test.zip' was successfully uploaded.

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!