andreamazz / andreamazz/AMScrollingNavbar

Collection View not following navigation bar to top, Follower leaves a grey box.

未关闭
#369 1 条评论 2 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Swift
星标
6k
派生
628
PR 合并指标
30 天内没有已合并 PR

描述

I scroll up but the collection view does not follow. I use the storyboard to set up the everything and the constraints.

`if let navigationController = navigationController as? ScrollingNavigationController {
navigationController.followScrollView(collectionView, delay: 20.0, followers: [NavigationBarFollower(view: exploreSearchBar, direction: .scrollUp)])
} else {
print("Not FOUND")
}`

A short youtube video on the issue:
EDIT I had the wrong link up sorry.
[https://youtu.be/bmP3GWvoWqs](url)

The top constraint for the ui collection view to the bottom of the search bar:
![Screen Shot 2019-08-09 at 2 26 38 AM](https://user-images.githubusercontent.com/43056803/62761790-2ce58c00-ba4d-11e9-93d8-b9b78a4b8ed3.png)

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。