LoginSignup
2
1

More than 3 years have passed since last update.

iOS14.3のiOSシミュレータでNavigationBarが黄色くなってしまう場合の対処方法

Last updated at Posted at 2021-01-07

追記(2021/3/1)

Xcode 12.4以降でこの症状は解消されています
https://developer.apple.com/documentation/xcode-release-notes/xcode-12_4-release-notes

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)

問題点

iOS14.3のiOSシミュレータでiOSアプリをビルドして起動すると、NavigationBarなどの表示が本来は半透明のところが黄色くなってしまいます。
全体の雰囲気がわからなくなるので元にもどしたい。

スクリーンショット

iOSSimulator

対処法

  1. iOSシミュレータのメニューからGPUの設定を変更する
    • 変更前 [File] -> [GPU Selection] -> [Automatic]
    • 変更後 [File] -> [GPU Selection] -> [Prefer Integrated GPU]
  2. iOSシミュレータを再起動する

スクリーンショット 2021-01-07 14.35.20.png

変更後

  • 下記のスクリーンショットのように元の半透明に戻っていることが確認できます

スクリーンショット

iOSSimulator

参考URL
https://stackoverflow.com/questions/65299337/xcode-12-3-ios-14-3-simulators-yellow-dock-yellow-translucent-issues

2
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
1