• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: UISearchDisplayController in UIToolbar on iPad
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: UISearchDisplayController in UIToolbar on iPad


  • Subject: Re: UISearchDisplayController in UIToolbar on iPad
  • From: Matt Neuburg <email@hidden>
  • Date: Sat, 25 Dec 2010 11:58:41 -0800

On Dec 25, 2010, at 10:43 AM, Alex Kac wrote:

> No....we're not. The popover comes up automatically when you type into the UISearchBar as provided by the display controller. I can go into IB (our project does not have this done in IB, btw) add a UISearchBar with a UISearchDisplayController and have zero code and when you tap in the search bar the controller brings up its own popover.  In fact I just took a simple iPad template project with a UISplitViewController. Opened its DetailView.xib and added a UISearchDisplayController. Removed its datasource and delegate connections just so I could make this an example. Built and ran the project and voila - you get an automatic popover.

Wow. Now *that* is what I call scary - takes "automatic" a little far, doesn't it? I had no idea. Sorry about that. See Apple's ToolbarSearch example for a manual version of this behavior; personally, I'd rather do it that way! m.

--
matt neuburg, phd = email@hidden, http://www.tidbits.com/matt/
pantes anthropoi tou eidenai oregontai phusei
Among the 2007 MacTech Top 25, http://tinyurl.com/2rh4pf
AppleScript: the Definitive Guide, 2nd edition
http://www.tidbits.com/matt/default.html#applescriptthings
Take Control of Exploring & Customizing Snow Leopard
http://tinyurl.com/kufyy8
RubyFrontier! http://www.apeth.com/RubyFrontierDocs/default.html
TidBITS, Mac news and reviews since 1990, http://www.tidbits.com


_______________________________________________

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

References: 
 >Re: UISearchDisplayController in UIToolbar on iPad (From: Matt Neuburg <email@hidden>)
 >Re: UISearchDisplayController in UIToolbar on iPad (From: Alex Kac <email@hidden>)
 >Re: UISearchDisplayController in UIToolbar on iPad (From: Matt Neuburg <email@hidden>)
 >Re: UISearchDisplayController in UIToolbar on iPad (From: Alex Kac <email@hidden>)

  • Prev by Date: Re: iOS MapKit rotation leaves blank area
  • Next by Date: Gap above NSMenuItem custom view
  • Previous by thread: Re: UISearchDisplayController in UIToolbar on iPad
  • Next by thread: iOS MapKit rotation leaves blank area
  • Index(es):
    • Date
    • Thread