Thanks Apple! Great work with this iOS 8 thing, it seems to be smooth!
I do not have a fix, but I can improve it with this magic spell:
[UITableView appearance].tableHeaderView = [[UIView alloc] initWithFrame:CGRectMake(0.0f, 0.0f, 10, 0.01f)];
The gray delay between the navigation bar and the menu selection is caused by the fact that tableHeaderView is set to nil, which I found from another SO question: Why is there an extra addition at the top of my UITableView with the UITableViewStyleGrouped style in iOS7 . You then set up a workaround for your prototype table view.
The risk here is that you can potentially ruin other kinds of tables in your application. I still have not been able to find the appearance of WhenContainedIn the magic that this broken route picker will pick. But at least in my application, the tables are beautiful because none of them have headers.
(Note that the thing that says βAirplayβ is a prototype of the UINavigationBar, so if you need to change this, you can also - but only if you want to apply it to all the navigation bars in your application !, I can't find the appearance of WhenContainedIn which works for me)
source share