andreamazz / andreamazz/AMScrollingNavbar

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

Aperta
#369 1 commento 2 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Swift
Stelle
6k
Fork
628
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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)

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.