Frage

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.

War es hilfreich?

Lösung

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.

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top