Fixing UISearchDisplayController On iOS 7

1 · Peter Steinberger · Oct. 4, 2013, 5 p.m.
iOS 7 is great, but it’s still very much a 1.0. I’ve spent a lot of time working around iOS 7-specific bugs in PSPDFKit and will share some of my work here. This is how UISearchDisplayController looks on iOS 7: Your browser does not support the video tag. Pretty bad, eh? This is how it should look: Your browser does not support the video tag. Here’s the code to fix it. It doesn’t use private API (although there is some view hierarchy fighting), and it’s fairly clean. It uses my UIKit l...