The keyboard does not show up when I run the simulator and click in the UITextView. How do I re-enable the keyboard?
It used to work but now it doesn't - I don't know what I might have clicked by accident... any tips would be appreciated!
The keyboard does not show up when I run the simulator and click in the UITextView. How do I re-enable the keyboard?
It used to work but now it doesn't - I don't know what I might have clicked by accident... any tips would be appreciated!
This seems to be a bug in iOS 8. There are two fixes to this problem :
Toggle between simulator keyboard and MacBook keyboard using the Command+K shortcut.
Reattach keyboard to simulator :
a. Open Simulator
b. Select Hardware -> Keyboard
c. Uncheck and then check 'Connect Hardware Keyboard'
OR simply press the Shift + Command + K shortcut
It would be difficult to say if there's any issue with your code without checking it out, however this happens to me quite a lot in (Version 6.0 (6A216f)). I usually have to reset the simulator's Content and Settings and/or restart xCode to get it working again. Try those and see if that solves the problem.
To fix the problem follow this -
Alternatively you can also do this with just one command.
Open terminal and fire - 1. rm ~/Library/Preferences/com.apple.iphonesimulator.plist
This will do the trick in one step! Just make sure you quit Xcode and simulator before running this.