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

initial position of view? #25

Open
huguesbr opened this issue May 11, 2016 · 1 comment
Open

initial position of view? #25

huguesbr opened this issue May 11, 2016 · 1 comment

Comments

@huguesbr
Copy link

I'm doing something wrong?

I'm subclassing AnimatedPagingScrollViewController to create a little on boarding controller.
I'm ignoring any x position (setting initial frame origin to zero) of my views as I'm using keepView methods to position them on the horizontal axe, but when my views are display for an instant all messed up before showing up at their correct position.
I'm also using SnapKit to setup my vertical constraints (but without setting any horizontal constraint via SnapKit).

I'm adding my views, setting up my constraints and configuring RazzleDazzle in viewDidLoad

Thanks for any help.

@huguesbr
Copy link
Author

Solve by calling animateCurrentFrame() on viewDidLoad, I may have miss this in the docs.
Any hint on this in the docs? Did I just missed it?

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