Question

I have modified the Apple sample code "TableSearch", but there is one thing I managed not to figure out by myself. How to make self.title to be fixed when I click onto the search bar?

I dont want self.title to fly away when I click on the search bar.


EDIT 17 august

The issue is resolved, so I removed the two pictures.

Was it helpful?

Solution

You can't modify this behavior when using a UISearchDisplayController (which the sample does). Use a UISearchBar directly and set it as the headerView of your table view.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top