Route options

I had a problem with the route parameters in broadcast mode, which are too short for iOS 8, so the user cannot even say that there are options other than the iPad. In the attached screenshot, there are two speakers available. You can scroll down and select them, but I doubt most users will consider trying.

I checked the view hierarchy to see if there was a view corresponding to where he decided to link the popover, but didn't see anything interesting.

The same thing was posted on the Apple Developer Forums, but no answer: https://devforums.apple.com/message/1039783#1039783

This happens both in portrait and landscape modes, 100% of the time on the 3rd generation iPad works 8.0.2. Built with Xcode 6.

Let me know if additional information would be useful, and in advance in advance for any thoughts!

enter image description here

+5
source share
2 answers

This is apparently a real bug in iOS 8 apps built with Xcode 6. I created a test app and sent it to Apple as part of a tech support incident. They examined him, credited TSI back and said that they would track him as a mistake. We also confirmed with another music app that they were observing the same behavior.

+1
source

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)

+1
source

Source: https://habr.com/ru/post/1203822/


All Articles