On Tue, 7 Dec 2010 08:53:05 -0500, Jonathan Schmidt <[email protected]> said: >I have an app that has a TabBar as the rot controller, a NavigationController >in the first tab, and a TableView NIB as the first view in the >NavigationController (I'll call that the Primary TableView). That TableView >provides a list with multiple sections for the user to choose from. When >selected, a second NIB with a TableView is pushed onto the screen (I'll call >that the Secondary TableView). > >I only want the SearchBar to show up on the Secondary TableView as that is the >real meat of the data. If I add a SearchDisplayController with a UISearchBar >to the Primary TableView, it shows up just fine at runtime. However, if I add >the SearchDisplayController to the Secondary TableView, it doesn't show up at >all at runtime when that view is pushed. Instead, it just shows the >TableView. The view looks correct other than that the SearchBar is absent. > >Any help is appreciated!
This doesn't seem to have anything to do with the search display controller. Either there is a search bar or there isn't. If the second nib has a table view and nothing else, that's what you'll see when it's pushed onto the stack. If you want it to have a search bar, give it a search bar. m. -- matt neuburg, phd = [email protected], <http://www.apeth.net/matt/> A fool + a tool + an autorelease pool = cool! AppleScript: the Definitive Guide - Second Edition! http://www.apeth.net/matt/default.html#applescriptthings_______________________________________________ Cocoa-dev mailing list ([email protected]) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [email protected]
