THTinderNavigationController
THTinderNavigationController copied to clipboard
Tapping on a page vs Swiping shifts views up slightly
When I tap on an icon to move to a page, this happens to the view:
But when I swipe to switch pages, the view returns back to normal
I have had this issue also and it was fixed (may be a loose term, it could be more of a hack but still) by a guy I work with.
Replace the scrollViewDidScroll method with this...
- (void)scrollViewDidScroll:(UIScrollView *)scrollView { CGPoint point = CGPointMake(scrollView.contentOffset.x, -20); [scrollView setContentOffset:point]; self.paggingNavbar.contentOffset = point; }
it fixes the issue
@ldutton241 this does not solve . If we have a tableviewcontroller on the view. 20 px get cut at the bottom . @komocode Can you please help resolve this
I fixed by adding an inset on top for UITableView and collection view.
[self.mTableView setContentInset:UIEdgeInsetsMake(20, 0, 0, 0)];