codepath / codepath/ios_guides

Search Bar remain on top of the table, while scrolling through cells

Open
#47 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Swift
Stars
2.9k
Forks
466
PR merge metrics
No merged PRs in 30d

Description

Hello.
I'm trying to make this example

https://github.com/codepath/ios_guides/wiki/Search-Bar-Guide#using-uisearchcontrollers-ios-8

but i also want to keep it on the top of the table view even if the user is scrolling !

With this line

`tableView.tableHeaderView = searchController.searchBar` you set it as a Header of the tableView.
Is there any way to make it work as i want it too?
Thanks!

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.