目前像ios 13 小米 华为等手机都支持深色模式,最近的一版ios sdk升级就出现了深色模式下显示效果不佳的问题。
复现步骤:在手机设置-显示中,打开深色模式,启动app后,显示效果如下:
解决方案:
1, 将深夜模式禁止 (目前开发的解决方式)
2,设置app背景色 (不确定, 需要实际测试下不同的机型看下)
3,适配深色模式 类似下面这样