Jelly icon indicating copy to clipboard operation
Jelly copied to clipboard

Perspective on background controller

Open malcommac opened this issue 7 years ago • 2 comments

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

malcommac avatar Apr 03 '17 10:04 malcommac

Sounds great. I will put that on my list.

SebastianBoldt avatar Apr 04 '17 11:04 SebastianBoldt

Is the desired animation similar to new message in mail?

glisom avatar Feb 04 '19 21:02 glisom