Re: SearchBar doesn't display at all
Re: SearchBar doesn't display at all
- Subject: Re: SearchBar doesn't display at all
- From: Jonathan Schmidt <email@hidden>
- Date: Wed, 8 Dec 2010 12:00:44 -0500
- Acceptlanguage: en-US
- Thread-topic: SearchBar doesn't display at all
By the way, I have a small sample project that I can use to show the
problem if anyone is interested. I can e-mail upon request.
On 12/8/10 10:45 AM, "Matt Neuburg" <email@hidden> wrote:
>On Tue, 7 Dec 2010 08:53:05 -0500, Jonathan Schmidt <email@hidden>
>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@hidden, <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@hidden)
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:
This email sent to email@hidden