-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
在真机11,系统14.5的真机上,在有无导航栏的情况下,contentScrollView滑动的时候,直接整个界面滑到顶部了,记录不了每个childScrollView滑动的高度 #11
Comments
我找到原因了,是因为代码执行了这里造成的
|
真机11,系统14.5,不管有没有导航栏,来回滑动都会滚动到第一条数据的地方 |
能麻烦录个视频吗,就是bug的现象 |
//MARK: ----AquamanPageViewControllerDelegate----
override func headerViewFor(_ pageController: AquamanPageViewController) -> UIView {
return headerView
}
override func pageController(_ pageController: AquamanPageViewController, didDisplay viewController: (UIViewController & AquamanChildViewController), forItemAt index: Int) {
}
override func pageController(_ pageController: AquamanPageViewController, viewControllerAt index: Int) -> (UIViewController & AquamanChildViewController) {
return viewControllers[index]
}
// override func contentInsetFor(_ pageController: AquamanPageViewController) -> UIEdgeInsets {
// return UIEdgeInsets.init(top: 40.0, left: 0, bottom: 0, right: 0)
// }
The text was updated successfully, but these errors were encountered: