luugiathuy / GTScrollNavigationBar

A scrollable UINavigationBar that follows a UIScrollView
BSD 3-Clause "New" or "Revised" License
552 stars 85 forks source link

Translucent tabbar #26

Open Reedyuk opened 10 years ago

Reedyuk commented 10 years ago

Hi, I have a translucent tab bar, but i noticed that the calculations dont take this into account, its seen as the full content size, but really it should deduct the height of the bar. I believe its related to this line. line 119: if (self.scrollView.frame.size.height + (self.bounds.size.height * 2) >= self.scrollView.contentSize.height) {

We should check for a translucent tab bar so that we can reduce the scrollview frame size to account for this.

chanmd commented 8 years ago

Hi Luu Gia, I have a issue on your GTScrollNavigationBar, I set autoresizing Flexible width on tableview, also I add another view on viewcontroller's view, when scrolling not only tableview but also another view. this is so weird.

chanmd commented 8 years ago

I just modify the code in function set frame, just set the self.scrollview.frame not superview.It works