Simulating an app with an TextField control, when I click in the control, the soft keypad appears. If I use the laptop keyboard to enter data, the keypad will no longer appear when I click on the control. To recover the soft keypad, I have to select "Reset Content and Settings". Any explanation would be appreciated.
This seems to be bug in iOS 8. There are two fix to this problem:
Toggle between simulator keyboard and MacBook keyboard using [Command+K] shortcut key.
Reattach keyboard to simulator:
a. Open Simulator
b. Select Hardware -> Keyboard
c. Uncheck and then check 'Connect Hardware Keyboard'
OR simply press [Shift + Command + K] shortcut key
In the simulator you can toggle the state of the keyboard with the Hardware menu, scroll down to the keyboard menu.
Command-K will toggle the keyboard
Related
in the Xcode 12.5, apple has released a new feature that we can record simulator screen with easy shortcut key Command+R.
but in the switch between Simulator and Xcode to run and build project, because when we want build project and run in simulator we also press Command+R, we have problem with this shortcut key in Simulator and see recording has started but we don't want to.
so how can we change this shortcut in Simulator to avoid this conflict?
Open Simulator
Right click the icon in the tray
Select Options > Show in Finder
Copy Simulator.app to your /Applications directory
Open System Preferences > Keyboard > Shortcuts
Click App Shortcuts > add [+]
Select the Simulator.app from the list
Enter Menu Title Record Screen (or other name of the Simulator's Shortcut)
Enter Keyboard Shortcut whatever you want
Click Add
Delete Simulator.app from /Applications
Done! The shortcut will still be changeable.
Without copying Simulator:
⌘ + click the Simulator icon in the dock
Open System Settings and search for "Keyboard shortcuts"
Select "Keyboard shortcuts" under "Keyboard"
Select "App Shortcuts"
Click the + button
Click on the application dropdown and select "Other..."
Drag the Simulator app from Finder to the open dialog
Click "Open"
Set "Menu Title" to "Record Screen"
Set your desired keyboard shortcut
Click "Done"
Click "Done"
when I ran my Xcode and went to type "Vatican City" in it , I typed Vatican using simulator keyboard and mistakingly typed City with my laptop keyboard.
once I pressed my laptop key , the simulator keyboard disappeared from the screen.
Now whenever I run my app and press on the UITextField, I do not get my simulator keyboard to pop up to take user input but it take input via my laptop keyboard
The properties in the attributes pane have been the same and nothing has been changed manually by me for my simulator to function like this. what should I do to get the simulator keyboard to pop up again when I want to give some user input?
enter image description here
Try enabling your software keyboard:
Shortcut keys: Cmd+Shift+K
In most Mac applications it is possible to switch between the open windows of an application using the cmd ~ key shortcut.
I want this in my app too, but I really don't see how to implement.
Most key shortcuts are implemented by adding a shortcut to one of the menu items. But for this one a menu item is not applicable.
In the Keyboard preferences pane, under the Shortcuts pane, Command-` is a system-level keyboard shortcut in the Keyboard category (labeled "Move focus to next window").
When using eclipse, I often use the find/replace tool without touching the mouse. I'll press Ctrl+F, type the text I want to find, press tab, type the replacement text, then press Shift+Tab 3 times, to bring focus to the "replace all" button, then I press Space to perform the action and ESC to close the window.
Today, I tried this and tab will only switch between the "find" text box and the "replace with" text box, meaning I have to go to my mouse to perform the "replace all" action, which takes forever (comparatively). I have had this problem before, and thought I recalled a key binding that changes the focus traversal policy for eclipse, but I cant seem to find it now. Googling has turned up nothing, but I don’t think I am searching for the right terms. I don’t think this is OS related, but I am on a Mac.
Thanks in advance!
I finally found this. It was OS related- Mac has a setting to allow tab navigation through buttons.
System Preferences-> keyboard, at the bottom select "all controls"
When I am running my app in Android Emulator and then on providing input through keyboard it displays the auto text in japanese or english and also the fullstop '.' doesn't work.
I made a solution by going through settings->Language&Keyboard option and then disabled the japanese as well as auto keyboard suggestion. But it is only temporary because when running my application another time would auto checked the emulator settings->Language&Keyboard->auto suggestion.
Can anyone give me permanent solution for that.
Thanks in Advance..
Note:
I am running my App through Eclipse.
One Thing we can do in our Activity that on selecting Edit Text press Escape Button to avoid Android KeyBoard and then long press the mouse left button on that Edit Text. So it will show the Context Menu to Select the input Type, then select Android Text input will solve our problem...