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

ContentOffSet incorrect when use UIScrollView #6

Open
wsof401 opened this issue Jan 5, 2015 · 1 comment
Open

ContentOffSet incorrect when use UIScrollView #6

wsof401 opened this issue Jan 5, 2015 · 1 comment

Comments

@wsof401
Copy link

wsof401 commented Jan 5, 2015

It has strange display in a scrollView(Calls self.ss).
I set a UIScrollView on a UIViewController.view。
I set the scrollView the constraints that no space to the vc.view of each sides

[self.ss setParallaxHeaderView:self.header 
                                     mode:VGParallaxHeaderModeTopFill 
                                     height:300];

[self.ss setContentSize:CGSizeMake(self.view.bounds.size.width, 3000)];

self.header is a instance of UIView. It has a UIScrollView On it.When I built the project. Self.ss.contentOffSet was {-600,0}
Everything is ok if self.ss is UITableView

@stoprocent
Copy link
Owner

There is a observer there to watch for contentOffset changes to calculate new constraints. I will have a look next week. I've been super busy with regular work.

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