Here is my situation.  I have UIViewController, call it ViewControllerA, that 
contains an UITableView and UISearchDisplayController.  ViewControllerA is the 
root view controller in a UINavigationController.  Things seem to work OK, that 
is I can preform a search, display the results, and select a row and push a 
detail view controller onto the stack, call it ViewControllerB.  

The problem I am having is when ViewControllerB is displayed I am getting a 
memory warning.  When I navigate back to ViewControllerA the 
UISearchDisplayController did something in response to the memory warning.  The 
search bar is gone, the search results table view is gone, the navigation bar 
is gone, and the "source table view" is displayed but has been scrolled to the 
top of the screen.  

I am thinking I need to handle this memory warning by recreating the 
UISearchDisplayController but I am not sure.  I have a feeling though I am not 
doing something right in my setup of the UISearchDisplayController.

Thanks
Donald
 
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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 arch...@mail-archive.com

Reply via email to