문제

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.

도움이 되었습니까?

해결책

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top