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

Change dynamic size of sheet auto layout #150

Open
aalirezamoradii opened this issue Jul 19, 2021 · 0 comments
Open

Change dynamic size of sheet auto layout #150

aalirezamoradii opened this issue Jul 19, 2021 · 0 comments

Comments

@aalirezamoradii
Copy link

aalirezamoradii commented Jul 19, 2021

after set isHidden = true of UIView inside UIStackView, auto layout change height of super view and sheet controller need a resize.
I get height of container view in viewDidLayoutSubviews and call resize to change sheet controller size but if animate true twoice call viewDidLayoutSubviews and bad animated becuse use the self.view.layoutIfNeeded() line 559
if animated false, wrong show height of container

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

1 participant