SebastianBoldt / Jelly

🌊 - Jelly is a library for animated, non-interactive & interactive viewcontroller transitions and presentations with the focus on a simple and yet flexible API.
http://www.sebastianboldt.com/
MIT License
2.45k stars 121 forks source link

How to resize the view of the presented controller ? #47

Closed kevin-lxh closed 5 years ago

kevin-lxh commented 7 years ago
let controllerA = ControllerA()
let navigationController = UINavigationController(rootViewController: controllerA)

let presentation = JellyFadeInPresentation()
let animator = JellyAnimator(presentation: presentation)
animator.prepare(viewController: navigationController)

self.present(navigationController, animated: true, completion: nil)

In controllerA, controllerB will be created and pushed to navigationController. My question is How to resize controllerB's view ? Thanks!

nghuiqin commented 6 years ago

I need same feature too. Figuring how to change the frame size of the presented viewcontroller but it won't work if I change the view frame size. It seems the layoutsubview will just read the size where we set at the beginning.

ryandailey100 commented 6 years ago

Can this be implemented? Really need this working for my project. Thanks.

SebastianBoldt commented 6 years ago

Do I understand this correctly? You want to resize the presented viewController if it is already presented?

SebastianBoldt commented 5 years ago

@baby03201 & @ryandailey100 & @kevin-lxh

This feature is currently under development (already working like a charm) and will be available in version 2.0.0 next month

🎉