-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Use Hero Transitions with Custom Segues? #69
Comments
If your view is 80 points from the top. Are you displaying the previous VC underneath? If yes, then you are probably using overCurrentContext or overFullScreen modal presentation. Hero doesn't support these two types of modal presentation at the moment. This is something that I would also like to support, but quite hard to implement. |
A workaround is to add your short VC into your top VC by using |
.overFullScreen support is implemented in 0.3.0 |
I'm trying to use a custom segue to slide a view from the bottom of the screen up to around 80 points from the top. This view then has a next button at the bottom, which when pressed will hopefully utilise Hero transitions.
Issue:
I can only get the transitions to work if I use hero_replaceViewController(). However, when i do use this, my view is no longer 80 points from the top but instead it is full screen again. I've tried to transform the view again at various points with no luck.
If i don't use hero_replaceViewController(), then the transitions do not work but the destination view frame is the correct size. I was thinking this may be down to me using custom storyboard segues instead of the standard push, etc?
Any thoughts?
The text was updated successfully, but these errors were encountered: