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

iOS 13会导致Window rootController 只有kIPhoneXSeriesTabbarButtonHeight的高度 #4

Open
sitale opened this issue Jul 2, 2019 · 2 comments

Comments

@sitale
Copy link

sitale commented Jul 2, 2019

如题

@DeforeChen
Copy link

如题

可以尝试将

        guard  #available(iOS 12.1, *) else {return}

改为

        guard  UIDevice.current.systemVersion == "12.1" else { return }

其实这个代码本身修复的就是 12.1 的系统 bug,与其他版本无关。

@sitale
Copy link
Author

sitale commented Sep 29, 2019

如题

可以尝试将

        guard  #available(iOS 12.1, *) else {return}

改为

        guard  UIDevice.current.systemVersion == "12.1" else { return }

其实这个代码本身修复的就是 12.1 的系统 bug,与其他版本无关。

我的iPhone xs 在13.1也会出现tabbar高度只有一半的情况

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