Skip to content
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

滑动header位置问题 #5

Closed
MorningStarJ opened this issue Apr 22, 2019 · 1 comment
Closed

滑动header位置问题 #5

MorningStarJ opened this issue Apr 22, 2019 · 1 comment

Comments

@MorningStarJ
Copy link

有两个controller 第一个有两屏幕内容高度的cell,第二个半屏幕内容高度的cell,当第一个滑动将menuview 置顶时,切换到第二个controller,此时第二个controller向上滑动到顶显示出header,再切回第一个controller,controller还是原来的offsety但是header会出现

@bawn
Copy link
Owner

bawn commented Apr 22, 2019

关于这个问题,我有点不太理解,你可以试试

override func keepChildScrollViewOffset(_ pageController: ShazamPageViewController) -> Bool {
        return false
    }

不知道是不是你想要的效果

@bawn bawn closed this as completed Sep 16, 2019
bawn added a commit that referenced this issue Sep 16, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants