UISearchController + UISplitViewController issues

Number:rdar://20958663 Date Originated:14-May-2015 08:19 PM
Status:Open Resolved:
Product:iOS Product Version:8.3
Classification:Serious Bug Reproducible:Always
When using UISearchController inside an UISplitViewController, state seems to break when the master sheet of the split screen controller is dismissed - if it is in overlay mode.

Steps to Reproduce:
Open attached example. Follow what I’m doing in the gif: http://cl.ly/image/1S413o1P090K

Expected Results:
Search should either disable itself when the parent view controller disappears, or simply stay active when we get visible again.

Actual Results:
Search controller breaks, search bar gets inaccessible, view appearance methods are no longer forwarded… at this stage the VC state seems broken internally.

This worked with UISearchDisplayController, even when that one has it’s fair share of other problems.

Also running a DTS on this, but since it doesn’t look promising I’m filing a radar as well.


Example: http://cl.ly/3a210U1c280C

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!