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 123 forks source link

Centre the content of viewController in the Jelly presentation. #22

Closed Rashesh-Bosamiya closed 7 years ago

Rashesh-Bosamiya commented 7 years ago

I have implemented timer design and presenting the timer using Jelly controller.

The problem is, The view is not coming up in centre.

How can I centre the content?

simulator screen shot 11-dec-2016 12 28 31 am

SebastianBoldt commented 7 years ago

Use Autolayout to center your Content.

Rashesh-Bosamiya commented 7 years ago

Okay. I made it.

Rashesh-Bosamiya commented 7 years ago

Thanks!

Rashesh-Bosamiya commented 7 years ago

One more thing,

Currently, When user touches anywhere outside the presented area, the jelly view is dismiss.

So, I want to prevent the dismiss of view when user touches outside area.

I want to dismiss view only when user click the close button.

SebastianBoldt commented 7 years ago

This is currently not possible but it is on the feature List of 1.1.0. Related Issue is #14