Xcode 12.3 iOS 14.3模拟器Yellow Dock/黄色半透明问题 [英] Xcode 12.3 iOS 14.3 simulators Yellow Dock / yellow translucent issues

查看:466
本文介绍了Xcode 12.3 iOS 14.3模拟器Yellow Dock/黄色半透明问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

今天,我下载了Xcode 12.3发行版,并运行了iOS 14.3模拟器,似乎出现了一个图形故障,所有半透明的视图都是黄色的,包括了停靠点.

Today I downloaded the release of Xcode 12.3, and I went running the iOS 14.3 simulators and it seems like there is a graphic glitch that all translucent views are yellow, dock included.

我重新下载了iOS 14.2,这些看起来还不错.看起来真的很奇怪.我已经提交了反馈,但是我很好奇是否还有其他人看到了吗?

I redownloaded iOS 14.2 and those seem fine. It just seems really odd. I've submitted feedback, but I was curious if anyone else has seen this?

我正在使用 macOS v10.15.7 (Catalina),并对是否只是Catalina或 macOS v11 (大苏尔).

I'm on macOS v10.15.7 (Catalina) and am curious of if it's just Catalina or also macOS v11 (Big Sur).

推荐答案

Xcode 12.4 RC已宣布修复.

iOS模拟的设备在半透明的UI元素中不再显示不正确的黄色.某些GPU可能会继续通过某些tvOS模拟器显示色彩. (71203015)

iOS simulated devices no longer display an incorrect yellow tint in translucent UI elements. Certain GPUs may continue to display the tint with some tvOS simulators. (71203015)


我认为这是与独立GPU相关的错误.


I think it is a bug related to the discrete GPU.

此外,此错误导致屏幕键盘的背景几乎达到RGB(0,0,0).与Catalina一起在MBP 2017上体验.

In addition, this bug causes the background of the on-screen keyboard to be almost RGB(0,0,0). Experienced on MBP 2017 with Catalina.

解决方法I-使用集成GPU

  1. 在模拟器中,设置菜单文件 GPU选择首选集成GPU 可以解决此错误.

  1. In the simulator, set menu FileGPU SelectionPrefer Integrated GPU to work around this bug.

重新启动模拟器.

这已在配备Catalina和Big Sur的MacBook Pro上进行了测试.如评论所示,它不适用于iMac.

This was tested on a MacBook Pro with Catalina and Big Sur. As comments suggest that it won't work on iMac.

解决方法II-降低透明度

在模拟设备(例如iPhone)中,设置可访问性显示和文字大小→打开降低透明度.

In the simulated device (e.g. iPhone), SettingsAccessibilityDisplay & Text Size → turn on Reduce Transparency.

请注意,它只能将以前的纯色"黄色降低为相当浅".

Notice that it can only reduce the previous 'solid' yellow to 'fairly light'.

由于可以使用离散GPU,因此我发现这种解决方法比以前的解决方案更适合测试UI逻辑.

I find this workaround, as the discrete GPU can be used, is more suitable for testing the UI logic than the previous solution.

这已在配备Catalina的MacBook Pro上进行了测试.可以在iMac上工作.

This was tested on a MacBook Pro with Catalina. Might work on iMac.

这篇关于Xcode 12.3 iOS 14.3模拟器Yellow Dock/黄色半透明问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆