• 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
UISearchDisplayController in UIToolbar on iPad
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

UISearchDisplayController in UIToolbar on iPad


  • Subject: UISearchDisplayController in UIToolbar on iPad
  • From: Alex Kac <email@hidden>
  • Date: Fri, 24 Dec 2010 12:12:32 -0600

Here is the situation. On iOS you must listen to memory warnings and handle them properly. So we have a view controller that we use with a UISearchDisplayController that sits in a UIToolbar on an iPad. If a memory warning occurs while the popover is up, the popover goes away, the search bar goes away and its gone. If I comment out the memory warning code then the OS runs as slow as mollasses and we see this in the console: wait_fences: failed to receive reply: 10004003

Its Christmas Eve and I'm a bit frustrated so perhaps I'm missing something basic/fundamental. I see in the docs it says " If a search display controller is destroyed (for example, in response to a memory warning), then you can create a new one and associate it with the original view controller or search bar." but I don't get why that happens when its being shown?_______________________________________________

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

  • Prev by Date: Re: UITableView with only 1 row selectable
  • Next by Date: Re: NSTextField in NSMenuItem
  • Previous by thread: Re: NSTextField in NSMenuItem
  • Next by thread: Re: UISearchDisplayController in UIToolbar on iPad
  • Index(es):
    • Date
    • Thread