LoginSignup
9
6

More than 3 years have passed since last update.

[Xcode] Simulatorでキーボードから@が入力できない時の対処法

Last updated at Posted at 2020-05-08

はじめに

Xcodeのシミュレーターを起動して、キーボードからTextFieldに "@" を入力したときに "[" が入力される時の対処法を紹介します。
(":" や "¥" など他の記号に対しても適用されます。)

@と打ちたいのに[が入力される。
image.png

対処法

I/O → Keyboard → Connect Hardware KeyBoardのチェックを一度外し、もう一度チェックすると解決します。(command+shift+Kを2回押してもできます!)

image.png

原因

おそらく、シミュレーターを起動時はキーボードがJIS配列ではなく、US配列として認識されているからだと思います。
Connect Hardware KeyBoardのチェックを外すとOSのキーボードが正しく読み込まれます。

9
6
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
9
6