-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
[UIKit Bug] iOS 14 修改 UITabBarAppearance.inlineLayoutAppearance.normal.titleTextAttributes[NSForegroundColorAttributeName] 会导致 UITabBarItem 文字无法完整展示 #1110
Comments
直接原因是 iPad/iPhone 横屏下会使用 当 所以业务也可以通过手动指定一个普通的 |
已发布 4.2.1 修复该问题。 |
设备型号 iPad Pro 12.9 第二代 (MQDD2ZP/A) iOS 14.0.1 依然出现这个问题,这里fontFamily 是system-ui所以没有应用到这个fix,需要一个pr么? @MoLice mo |
@horsley 可以 |
截图
修改颜色后文字展示不完整:
不修改颜色则没问题:
如何重现
测试 Demo
(内附修复代码,在 UITabBar+Test.m 内,默认注释了)
TestTabBarAppearance.zip
预期的表现
UITabBarItem 文字完整展示。
其他信息
The text was updated successfully, but these errors were encountered: