telly / TLYShyNavBar

Unlike all those arrogant UINavigationBar, this one is shy and humble! Easily create auto-scrolling navigation bars!
MIT License
3.73k stars 426 forks source link

Preserve NavBar hiding state when switching scroll views #128

Open Sergozh opened 8 years ago

Sergozh commented 8 years ago

I have segment control as shown and 2 scroll views. Can I preserve nav bar hiding state when swiping along this scroll views? Here how I set them:

- (void)swipeViewDidEndDecelerating:(SwipeView *)swipeView
{
    self.segmentedControl.selectedSegmentIndex = swipeView.currentPage;
    self.shyNavBarManager.scrollView = [(KSStartupsListVC *)_itemsArray[swipeView.currentPage] dataTable];
}

img_0061

axmav commented 8 years ago

+1