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

顶部刷新 #30

Open
sxj1204 opened this issue Jul 9, 2019 · 3 comments
Open

顶部刷新 #30

sxj1204 opened this issue Jul 9, 2019 · 3 comments

Comments

@sxj1204
Copy link

sxj1204 commented Jul 9, 2019

请问大神 如何实现子控制器的刷新在header顶部实现刷新效果

@panghaijiao
Copy link
Owner

把你的headerView背景设置为透明,headerView里面的contentView,高度固定,向下对齐,然后把子控制器里面的scrollView的刷新控件往上便宜headerView的高度就可以了

@sxj1204
Copy link
Author

sxj1204 commented Jul 17, 2019

我这边用 MJRefresh 没有实现, 自己实现的下拉刷新效果

@sxj1204
Copy link
Author

sxj1204 commented Jul 17, 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