I'm working on a project that uses a UICollectionView (PSUICollectionView actually) and I've added a UISearchBar at the top of this collection view. What I now wanna do is to scroll off this search bar by default until the user pulls it down. This behavior is very easy to do in a UITableView, however UICollectionView's contentSize doesn't even get initialized until viewDidAppear!! So setting the contentOffset's Y to search bar height has no effect, unless it's done in viewDidAppear (which is not what I want). Has someone figured out using a UISearchBar with UICollectionView and how to keep it scrolled off by default?
Thanks! -Amit