andreamazz / andreamazz/AMScrollingNavbar
Fully Hide Follower(s) and content inset issues
- 主要言語
- Swift
- スター
- 6k
- フォーク
- 628
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
**Describe the bug**
I am replacing TLYShyNavBarManager with your library and liking it very much! However, I'm not sure I understand how to to use it correctly.
I have a UIViewController that has a full screen tableView.
I create a custom toolbar programmatically and add it as a subview to self.view (I suspect herein lies my content inset issue. With TLY, I didn't have to add it to self.view)
Everything works GREAT except:
1) The toolbar I have set as a follower does not fully hide. I can actually live with this until a future update.
2) The toolbar covers up some of the underlying tableview. This I have to fix ASAP.
Relevant code:
```objc
//Creating of toolbar
_statusBar = [[StatusBar alloc] initWithFrame:CGRectMake(0.0, 0.0, self.view.frame.size.width, 130.0)];
_statusBar.autoresizingMask = UIViewAutoresizingFlexibleWidth | UIViewAutoresizingFlexibleHeight;
_statusBar.searchBar.delegate = self; //Implement search bar delegate features
[self.view addSubview:_statusBar];
//Attaching/Following
NavigationBarFollower *statusBarFollow = [[NavigationBarFollower alloc] initWithView:_statusBar direction:NavigationBarFollowerCollapseDirectionScrollUp];
[(ScrollingNavigationController *)self.navigationController followScrollView:_tableView delay:0 scrollSpeedFactor:1 collapseDirection:NavigationBarCollapseDirectionScrollDown followers:@[statusBarFollow]];
```
Here is a video demonstrating my issue!
https://imgur.com/a/hWmjgrf
In the video, my "toolbar" is the thing from the bottom of the nav bar all the way to the "games shown" stuff
Any help would be greatly appreciated! And thanks for the library!
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
評価
この issue はまだ評価されていません。