Skip to content
This repository has been archived by the owner on Dec 4, 2018. It is now read-only.

Question: static header with shy one #162

Open
Pitometsu opened this issue Oct 17, 2016 · 2 comments
Open

Question: static header with shy one #162

Pitometsu opened this issue Oct 17, 2016 · 2 comments

Comments

@Pitometsu
Copy link

Can I implement shy table view with two headers, first shy (able to hide on scroll) and second static (on top of screen, and visible all the time)?

Almost suitable solution I got with group header view, but there was gap between group header and navigation bar on scroll bounces.

@ignivashiju
Copy link

Facing issue on header movement when scroll tableView.

class name is TLYTableViewController

i used the code of UIScrollView delegate to move header with cell when scroll.
#pragma mark - UIScrollViewDelegate

  • (void)scrollViewDidScroll:(UIScrollView *)scrollView {
    scrollView.contentInset = UIEdgeInsetsMake(-200, 0, 0, 0);
    }

when i use this code table fluctuate or jerk the screen.

Is that any solution, when scroll table and section header also move at top of screen?

@Pitometsu
Copy link
Author

@Mazyod please, check #163 to solve this issue.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants