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

Possible to control inset / height? #95

Open
aehlke opened this issue Nov 2, 2018 · 3 comments
Open

Possible to control inset / height? #95

aehlke opened this issue Nov 2, 2018 · 3 comments

Comments

@aehlke
Copy link
Contributor

aehlke commented Nov 2, 2018

On iPad, since the screen is so tall, I'd like the "card" view to only take up 1/3–1/2 of the screen. Is it possible to adjust the height of the view being transitioned to (or its inset to achieve the same)?

@HarshilShah
Copy link
Owner

I've been to see if a way to dynamically calculate the height can be done, since that's a better solution than insets. Will post here if there's any progress

@MahdiRB
Copy link

MahdiRB commented Dec 8, 2018

Same issue, I wonder if I can change the height of card view

@iDevelopper
Copy link

You have just to change the value of insetForPresentedView in Constants.swift. And it will work. Then @HarshilShah have to create a public variable to allow library users to change this value (default is 8).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants