UITextField in iOS7 simulator does not accept any Mac keyboard input

UITextField suddenly does not accept any Mac keyboard input, however I can use the virtual keyboard that appears on UIView on the iOS7.0 simulator.

Has anyone resolved this issue before?

+6
source share
5 answers

I reset iOSSimulator , its contents and settings, and close and restart iOS-simulator. .

This happened when I updated the code from SVN .

I think its always good practice to clear the code, restarting the simulator when updating the source code from SVN, especially with Xcode5 .

+5
source

In the simulator menu:

Hardware β†’ Keyboard β†’ Connect hardware keyboard

helped me with this problem

+7
source

This seems like a bug in the simulator.

Steps to reproduce (and correct)

  • Open a simulator and, for example, Safari
  • Start typing and it will work fine
  • Use the CMD + LEFT or RIGHT arrow to rotate the device to landscape.
  • Try typing with your Mac keyboard and it won’t work.
  • Press and release the CMD key once, and the keyboard will work again.

Now I will write a bug report with Apple.

+5
source

For me, restarting the simulator worked.

+2
source

If your program cannot enter Mac keyboard input, follow these steps:

  • Open the simulator

  • Go to the hardware option in the menu

  • Choose Keyboard> Connect Hardware Keyboard.

Shortcut
Command + Offset + K

enter image description here

0
source

Source: https://habr.com/ru/post/955299/


All Articles