• 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: Fri, 24 Dec 2010 12:22:09 -0800

On Fri, 24 Dec 2010 12:12:32 -0600, Alex Kac <email@hidden> said:

>we have a view controller that we use with a UISearchDisplayController that sits in a UIToolbar on an iPad

No, it doesn't. A UISearchDisplayController is a controller. A UIToolbar is a view. A controller can't "sit in" a view. It is really helpful if your question is formulated so as to use language and concepts accurately. Otherwise everyone has to guess what you really mean, which is difficult and inaccurate. Maybe what you mean is that a UISearchBar sits in a UIToolbar, but it's really hard to tell, and we shouldn't have to guess (and doesn't explain what the UISearchDisplayController has to do with the story). Your misformulation might or might not even mask the source of the problem.

> If a memory warning occurs while the popover is up, the popover goes away, the search bar goes away and its gone

Again - "the popover"? You never said anything up to this point about a popover, so how does it come in? Basically, it will help if you describe what is really happening. Of course having a problem is frustrating, but don't take it out on the list! :) Taking the time for structure a clear and accurate description of the problem could actually help you towards a solution, as well as allowing others to reproduce or analyze it usefully.

It sounds like what you're really complaining about is that when there's a memory warning your popover is dismissed. Is that right? This doesn't happen for me when I'm displaying a popover and I simulate a memory warning in the simulator, so again, how are you generating your warning?

Basically, what I'm asking is that you do what a scientist would do in lab notes: say enough to constitute instructions so that someone else can perform the same experiment. Otherwise no one even knows that the problem really is.

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

  • Follow-Ups:
    • Re: UISearchDisplayController in UIToolbar on iPad
      • From: Alex Kac <email@hidden>
  • Prev by Date: Re: NSTextField in NSMenuItem
  • Next by Date: Re: UKKQueue and CVS
  • Previous by thread: UISearchDisplayController in UIToolbar on iPad
  • Next by thread: Re: UISearchDisplayController in UIToolbar on iPad
  • Index(es):
    • Date
    • Thread