-
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
ios 15下 适配导航栏 返回按钮变成蓝色 #1309
Comments
没人遇到过吗 你们怎么适配的? |
|
你这样的写法,得到这样的运行效果,是符合预期的。因为 new 出来的 UINavigationBarAppearance 你没有设置它的 要么正确使用 iOS 13 系统的接口,要么跟 @qianlishun 说的一样,自己再补一个 |
Bug 表现
ios 15下 按以下方式适配导航栏 返回按钮变成蓝色
if (@available(iOS 13.0, *)) {
UINavigationBarAppearance *appearance = [[UINavigationBarAppearance alloc] init];
appearance.backgroundEffect = [UIBlurEffect effectWithStyle:UIBlurEffectStyleRegular];
self.navigationBar.scrollEdgeAppearance = appearance;
}
截图
Bug 现场的界面截图,或者 Xcode 控制台的错误信息截图,有问题的代码截图
如何重现
预期的表现
返回按钮颜色正常
其他信息
The text was updated successfully, but these errors were encountered: