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

Perspective on background controller #41

Open
malcommac opened this issue Apr 3, 2017 · 2 comments
Open

Perspective on background controller #41

malcommac opened this issue Apr 3, 2017 · 2 comments
Assignees

Comments

@malcommac
Copy link

malcommac commented Apr 3, 2017

Thank you for your nice library!
It would be good to have another effect on transition

The following example create a presentation from bottom to up leaving a small portion of screen free on top.

var presentation = JellySlideInPresentation()
presentation.presentationCurve = .easeInEaseOut
presentation.heightForViewController = JellyConstants.Size.custom(value: UIScreen.main.bounds.size.height - 60.0)
presentation.directionShow = .bottom
presentation.verticalAlignemt = .bottom
presentation.directionDismiss = .bottom
presentation.jellyness = .jelly
presentation.isTapBackgroundToDismissEnabled = true
let animator = JellyAnimator(presentation: presentation)
animator.prepare(viewController: modal_navigation)

I would to see the background controller showed in perspective (a little smaller)

vn2cq

@SebastianBoldt
Copy link
Owner

Sounds great. I will put that on my list.

@SebastianBoldt SebastianBoldt self-assigned this Apr 4, 2017
@SebastianBoldt SebastianBoldt added this to the 2.0.0 milestone Oct 29, 2018
@SebastianBoldt SebastianBoldt removed this from the 2.0.0 milestone Dec 13, 2018
@glisom
Copy link
Contributor

glisom commented Feb 4, 2019

Is the desired animation similar to new message in mail?

glisom pushed a commit to glisom/Jelly that referenced this issue Mar 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants