Tencent / QMUI_iOS

QMUI iOS——致力于提高项目 UI 开发效率的解决方案
http://qmuiteam.com/ios
Other
7.07k stars 1.37k forks source link

请教,iOS 15下QMUINavigationController背景图片设置的问题 #1265

Closed eric0815 closed 2 years ago

eric0815 commented 3 years ago

大神,您好,非常感谢提供这么好的开源项目。请问有兼容iOS 15的计划吗,iOS 15下QMUINavigationController背景图片设置有点问题。相关讨论见下面的帖子, https://developer.apple.com/forums/thread/683265

iOS 15 下运行qmuidemo的效果如图

Simulator Screen Shot - iPhone 12 Pro Max - 2021-07-06 at 19 43 08

非常感谢。

WOHANGO commented 2 years ago

@MoLice 你好,请问有没有临时解决方法,iOS15 9月21日推出,到时候用户一更新就会出现问题

darvintang commented 2 years ago

@MoLice 你好,目前Xcode13上打包会出现该问题,Xcode12打包正常。

darvintang commented 2 years ago

@MoLice 你好,请问有没有临时解决方法,iOS15 9月21日推出,到时候用户一更新就会出现问题

用Xcode12打包就正常了

HaQiuqiu commented 2 years ago
    if #available(iOS 15, *) {
        let app = UINavigationBarAppearance()
        app.configureWithOpaqueBackground()
        let image = UIImage.qmui_image(with: .red, size: CGSize(width: 4, height: 4), cornerRadius: 0)
        app.backgroundImage = image
        self.navigationController?.navigationBar.scrollEdgeAppearance = app
        self.navigationController?.navigationBar.standardAppearance = app
    }

就可以了

MoLice commented 2 years ago

请关注 QMUI 后续的新版本更新。

Arthas-cn commented 2 years ago

关注

WOHANGO commented 2 years ago

@MoLice 还有tabbar,应该也是同样问题,滚动到底部变透明(xcode13 + ios15)

hydyy commented 2 years ago

@MoLice 请问4.4预计发布时间?

MoLice commented 2 years ago

@MoLice 请问4.4预计发布时间?

@hydyy 本周一定,本周一定

eric0815 commented 2 years ago

上次重新定义了本月,这次的本周不知道会怎么样了23333

passol1988 commented 2 years ago

离本周结束还有四天

lcl2539 commented 2 years ago

周四啦,催更

xiafb commented 2 years ago

周五啦,在线蹲一个更新

UnfamousCoder-zhangsan commented 2 years ago

周五啦,在线蹲一个更新

别急 应该在打包了

JFPURE commented 2 years ago

我也蹲一个~

hydyy commented 2 years ago

请看我头像

yaobiao131 commented 2 years ago

本周看来是更不了了

eric0815 commented 2 years ago

本周看来是更不了了

不一定,美国还是早上

MoLice commented 2 years ago

已发布 4.4.0 适配该问题。

evanzhou89 commented 2 years ago

iOS 11 以下的用户很是蛋疼

JFPURE commented 2 years ago

这是来自QQ邮箱的假期自动回复邮件。您好,来信已收到。无法及时回复您的邮件,深感歉意。

MoLice commented 2 years ago

iOS 11 以下的用户很是蛋疼

@evanzhou89 把被去掉的 iOS 10 的代码自己加回来也不是很多。

evanzhou89 commented 2 years ago

iOS 11 以下的用户很是蛋疼

@evanzhou89 把被去掉的 iOS 10 的代码自己加回来也不是很多。

嗯,也只能 fork 一份了。之前看了这部分代码,的确不是很多,所以有点好奇为什么不继续支持 iOS 10。

MoLice commented 2 years ago

iOS 11 以下的用户很是蛋疼

@evanzhou89 把被去掉的 iOS 10 的代码自己加回来也不是很多。

嗯,也只能 fork 一份了。之前看了这部分代码,的确不是很多,所以有点好奇为什么不继续支持 iOS 10。

@evanzhou89 国内的移动环境下,微信最低版本的支持情况,代表了绝大部分用户的场景。目前对 iOS 10 的投入性价比过低,精力有限的项目确实无法支持。