UIPopover + Keyboard = App freezes.

Originator:steipete
Number:rdar://19556505 Date Originated:22-Jan-2015 01:11 AM
Status:Closed Resolved:
Product:iOS Product Version:8.1.2
Classification:Crash/Hang/Data Loss Reproducible:Always
 
Summary:
Presenting a keyboard from within a popover can result in a state where the application is completely frozen.

Steps to Reproduce:
Launch example. Tap the “Okay, let’s freeze!” button and observe the process to make it freeze.

Expected Results:
See a text field in the popover.

Actual Results:
Application completely freezes, UIKit loops within layoutSublayers endlessly. There’s no way to get the app into a working state again.

Regression:
Works correctly under iOS 7.1 (uncomment the old popover logic to try it in the example)

Notes:
Haven’t found a great workaround for this nasty bug yet. Any comments greatly appreciated.

Comments

Fixed in iOS 8.4

Played some more with it... if you don't use accessoryView but do the lay-outing yourself, it'll work.

Example: http://cl.ly/423I0W0Q342w


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!