Open JayceBryce opened 4 years ago
@JayceBryce Adds this to your view controller
extension ViewController: SJSegmentedViewControllerViewSource {
func viewForSegmentControllerToObserveContentOffsetChange() -> UIView {
return collectionView
}
}
This is the issue:
If we want to use a UICollectionView which we add to a ViewController ( NOT UICollectionViewController ) which we can use directly from storyboards the scroll header does not work. When you scroll up the "Header" is also suppose to scroll up but instead it does not.
On the sample project it works because your using a UICollectionViewController.
Can you please fix this?