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

Auto size UINavigationController #48

Closed
CripyIce opened this issue Nov 29, 2020 · 2 comments
Closed

Auto size UINavigationController #48

CripyIce opened this issue Nov 29, 2020 · 2 comments

Comments

@CripyIce
Copy link

Hi there,
How can I implement UINavigationController inside bottom sheet with auto height?
I have a UINavigationController with multiple UIVIewControllers and all views inside are constrained to the "superview" and I've tried using translatesAutoresizingMaskIntoConstraints = false with no success.

Any ideas?
Thanks!

@OfTheWolf
Copy link
Owner

Hi @CripyIce,

How does it look like? Can you share screenshot please?

And bottom sheet does not support auto height. But you can calculate the height of your inner viewController/navController and change the position of the sheet accordingly.

@OfTheWolf
Copy link
Owner

Duplicate of #51

@OfTheWolf OfTheWolf marked this as a duplicate of #51 Dec 19, 2020
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

2 participants