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

Wrong navigation bar padding when presented as second modal view controller #36

Open
kuchmiyalex opened this issue Feb 24, 2020 · 1 comment

Comments

@kuchmiyalex
Copy link

This seems to be an iOS 13 bug but easy fix would be appreciated.

https://forums.developer.apple.com/thread/121861

Simulator Screen Shot - iPhone 11 Pro Max - 2020-02-24 at 14 32 00

@kuchmiyalex
Copy link
Author

Adding these lines in TatsiPickerViewController fixed current issue


    public override func viewWillAppear(_ animated: Bool) {
        super.viewWillAppear(animated)
        if #available(iOS 13.0, *) {
            self.view.layoutIfNeeded()
            self.view.updateConstraintsIfNeeded()
        }
    }

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