Is it possible to stop a UISearchBar from scrolling in a UITableView?

For example: a UISearchbar in a UITableView, for example, an iphone address book application, scrolls with the names.

Is it possible to stop it from scrolling so that it stays on top?

Thank!

+3
source share
1 answer

You can set the search bar out of table viewif you do not want to scroll it.

Or you can add a search string in header of section 0place of the table title. both will work.

DOWNLOAD ENCODING ...

+4
source

Source: https://habr.com/ru/post/1766686/


All Articles