The main page of my app is a UIViewController that primarily contains a UICollectionView, but has a UISegmentedControl above it to swap out the data in the UICollectionView.
I'm using prefersLargeTitles=true, and according to the "What's New in Cocoa Touch" WWDC Session 201, the framework should be able to identify the primary (?) UIScrollView in the UI and collapse the large title accordingly when the user scrolls up:
"Now, UINavigationController will automatically find the main primary content scroll view inside of your currently visible view controller. And track its content offset to make sure that it can do this on your behalf. So, in most cases, there's actually not a lot of work that you need to do, in order to adopt that."
I cannot get this to work, both in Betas 3 and 4.
Should this work, when the scrolling view is a level down the hierarchy? Or does it only work if you use, say, a UITableViewController, UICollectionViewController or the like? Or is there some other way to indicate that this UICollectionView is the "main primary content scroll view"?