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
Bug 表现 QMUINavigationControllerDelegate 里的 titleViewTintColor 在 iOS 12 下如果应用于 rootViewController、被 animated:NO push/pop 出来的界面里会失效。 不管是 QMUINavigationTitleView 或系统 title 都会。
QMUINavigationControllerDelegate
titleViewTintColor
其他信息
The text was updated successfully, but these errors were encountered:
对于 iOS 12,在 QMUI 里 viewWillAppear: 时会调用 renderNavigationTitleStyleAnimated 来更新 titleView 的样式,需要满足条件:
viewWillAppear:
renderNavigationTitleStyleAnimated
但对于 rootViewController,或者被以 animated:NO 方式 push/pop 过去的界面,他们的 push/pop 动作会立即完成,然后才开始走到 viewWillAppear:,这意味着截图里的 navigationAction 在此时是 Unknow(因为 push/pop completed 之后就会转为 Unknow),由于不满足条件,所以无法执行 renderNavigationTitleStyleAnimated。
新版本将会修复该问题,在此之前你可以将本地代码的 qmui_navigationAction >= QMUINavigationActionWillPush 改为 qmui_navigationAction >= QMUINavigationActionUnknow。
qmui_navigationAction >= QMUINavigationActionWillPush
qmui_navigationAction >= QMUINavigationActionUnknow
Sorry, something went wrong.
已发布 4.2.3 修复该问题。
No branches or pull requests
Bug 表现
QMUINavigationControllerDelegate
里的titleViewTintColor
在 iOS 12 下如果应用于 rootViewController、被 animated:NO push/pop 出来的界面里会失效。不管是 QMUINavigationTitleView 或系统 title 都会。
其他信息
The text was updated successfully, but these errors were encountered: