We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The text was updated successfully, but these errors were encountered:
ESTabBarItemContentView.swift updateLayout()
ESTabBarItemContentView.swift
updateLayout()
var isLandscape = false if let keyWindow = UIApplication.shared.keyWindow { isLandscape = keyWindow.bounds.width > keyWindow.bounds.height }
这个横竖屏判断不严谨 可能当前的keyWindow 不是tabBar所在的keyWindow
keyWindow
我遇到的情况是这么个情况
Sorry, something went wrong.
ESTabBarItemContentView.swift updateLayout() var isLandscape = false if let keyWindow = UIApplication.shared.keyWindow { isLandscape = keyWindow.bounds.width > keyWindow.bounds.height } 这个横竖屏判断不严谨 可能当前的keyWindow 不是tabBar所在的keyWindow 我遇到的情况是这么个情况
谢谢!是这样的,我是因为从视频全屏返回就会出现这个问题。另外一个发现是:只有iOS15及以下会出现这个问题。同一个操作,iOS15及以下系统获取到的keyWindow 和 iOS16 以上系统不一样的。
No branches or pull requests
The text was updated successfully, but these errors were encountered: