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

添加mj_header位置问题 #121

Open
NXZXYMQ opened this issue Jul 25, 2018 · 1 comment
Open

添加mj_header位置问题 #121

NXZXYMQ opened this issue Jul 25, 2018 · 1 comment

Comments

@NXZXYMQ
Copy link

NXZXYMQ commented Jul 25, 2018

添加mj_refresh,在子scrollView的代理滚动方法调整了位置
- (void)scrollViewDidScroll:(UIScrollView *)scrollView { MJRefreshHeader *header = self.mj_header; CGFloat orginY = - (header.st_height + self.swipeTableView.swipeHeaderView.st_height + self.swipeTableView.swipeHeaderBar.st_height); if (header.st_y != orginY) { header.st_y = orginY; } }
可是不知道为什么mj_header的位置就是一直在segmentBar下面
求解

@NXZXYMQ
Copy link
Author

NXZXYMQ commented Jul 25, 2018

在MJHeader state = 3 (刷新状态时),header又跑到下面了,这边调整没有生效

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

1 participant