thatzprem
thatzprem

Reputation: 4767

UITextField in iOS7 simulator do not take any input from mac keyboard

UITextField suddenly do not take any input from mac keyboard, However I am able to use the virtual keyboard coming up on UIView on iOS7.0 simulator.

Has any one resolved this issue before?

Upvotes: 6

Views: 3573

Answers (5)

user2815238
user2815238

Reputation: 231

If your programme unable to take input from mac keyboard then perform the following steps:

  1. Open the simulator

  2. Go to hardware option in Menu

  3. Choose Keyboard> Connect Hardware Keyboard

Shortcut
command+shift+K

enter image description here

Upvotes: 0

Jakub Vodak
Jakub Vodak

Reputation: 215

In simulator menu:

Hardware -> Keyboard -> Connect Hardware Keyboard

helped me with this problem

Upvotes: 7

Renetik
Renetik

Reputation: 6373

Restart of simulator worked for me.

Upvotes: 2

Rog
Rog

Reputation: 18670

This looks like a bug in the simulator.

Steps to reproduce (and fix)

  1. Open simulator and for example Safari
  2. Start typing along and it will work fine
  3. Use CMD + LEFT or RIGHT arrow to rotate the device to landscape
  4. Try typing using the mac keyboard and it will not work
  5. Press and release the CMD key once and the keyboard is working again

I'll file a bug report with Apple now.

Upvotes: 5

thatzprem
thatzprem

Reputation: 4767

I reset the iOSSimulator, its contents and settings and quit and relaunched the iOS-simulator. it worked.

This exactly happened when I updated the code from SVN.

I guess its always a good practice to clean the code, relaunch the simulator when ever updating the source code from SVN especially with Xcode5.

Upvotes: 5

Related Questions