iOS Simulator doesn't use the same layout as OS X - ios

I would like to use my Mac's keyboard to type in text fields in iOS Simulator, but actually, with my settings, when I type the letter A, I got a Q in my text field...
Here is the settings of my keyboard in OS X :
Settings in iOS Simulator :
Hardware :
Keyboards settings in iOS :
Physical keyboards :
Is it possible to use an AZERTY physical keyboard in iOS Simulator ? And how to do that ?

Unfortunately, there is a bug in the current iOS Simulator. You can switch the Keyboard in the Settings, but in Safari & Co, you still get the Englisch QWERTY-Keyboard. This Question has been answered here: iOS8.1 Simulator always uses US keyboard layout despite german hardware keyboard
I'll share it with you as soon as I find a proper solution or Apple fixes this, been watching out for this for a while now...

Related

How to type an # in iOS simulator using the hardware keyboard?

While using the iOS Simulator it is no problem to type an # symbole on the soft-keyboard.
However, when using the real keyboard (if connected using the simulator option Hardware/Keyboard/Connect Hardware Keyboard) pressing Option+L on the hardware keyboard does NOT type an # but ¬ sign...
This is quite annoying when testing login screens and other situations where an # sign is needed. I have to bring up the soft keyboard first.
Is there any trick to use the hardware keyboard to type an # sign in the iOS simulator?
BTW: I have no idea if this happens on real iOS devices with a real hardware keyboard as well, since I have no keyboard I could connect to a real iOS devices.
However this
Sounds like it's your keyboard layout. Option + L renders ¬ on both macOS and iOS for me. If you have an American English keyboard layout you probably want Shift + 2. If you prefer to use the keyboard layout you're accustomed to you might need to configure it in the simulator.

Xcode Simulator ignoring OS X keyboard layout

I have the keyboard layout set to "Dvorak", but the simulator seems to assume "Qwerty" regardless. In the menus of "Hardware" > "Keyboard" I have checked off "Use the Same Keyboard Language as macOS" and "Connect Hardware Keyboard". Is there a hidden secret option to actually use the macOS keyboard layout or is this just broken? The wording seems to confound "language" with "layout".
I've seen a similar issue reported as a bug in iOS 8.2 simulator, but the simulator is reporting using iOS 11.2. I'm running Xcode 9.2 and Simulator 10.0 .
EDIT: I updated to the latest macOS (10.14.2) and latest Xcode (10.1) and the issue is still exactly the same. I type in the simulator "aoeu" and I get "asdf".
In order to get Dvorak on the "external" keyboard it has to be manually selected in the settings by going to Settings > General > Keyboard > Hardware Keyboard > "English (United States)" and then selecting "Dvorak". Of course, it just gets reset back to Qwerty after a reset.
Basically the "Use the Same Keyboard Language as macOS" is broken for Dvorak. It may be due to it not being a setting in the software keyboard.

Can't see custom keyboard in Safari of iOS8.1 simulator

After update to Xcode 6.1, I lost my custom keyboard in Safari of iOS8.1 simulator. But it's still come in photo app. Photo app can switch to my custom keyboard, but Safari still display English and Emoji, other system keyboard like Arabic also not work. I reset simulator but not work.
It's look nothing change in Safari in iOS8.1.I try to clear DerivedData folder but it no help.
I remove Xcode and reinstall from Appstore, not work too.
I must test on my device, too strange.
Does anyone have same issue? please help how to solve this.
This is a known issue. From the release notes for XCode 6.1.1:
Localization and Keyboard settings, including 3rd party keyboards,
are not correctly honored by Safari, Maps, and developer apps in the
iOS 8.1 Simulator. [NSLocale currentLocale] returns en_US and only the
English and Emoji keyboards are available. (18418630, 18512161)
The suggested work around is to use another app, such as Contacts, for which the keyboard does display correctly in the simulator.
You may have to stop your physical keyboard from taking control. From the Simulator's Mac menu:
Hardware -> Keyboard -> (uncheck) Connect Hardware Keyboard
The text above actually only contains a simple question
"Does anyone else have this issue".
The correct answer is
"Yes other people have the same issue."

Predective (Quick type) keyboard not displaying in iPhone6, 6+ simulator

In my application there is no predictive keyboard showing in simulator.
From setting, It's already ON for predictive keyboard option.
For this same application and same screen, there is predictive keyboard showing on iPhone 6+ device.
Not sure why not there in simulator
If needed below info which i am using:
Xcode 6.0.1
iOS 8.0
iPhone 6+ simulator
OSX 10.10 Yosemite
If these helps to make any setting change.
I have also found one link to make it on, But not working on my case.
As per this link I have attached my screen show of simulator.
Thanks for the help!
You will have to set the autocorrection attribute of your text field to be UITextAutocorrectionTypeDefault or UITextAutocorrectionTypeYes to see the predictive feature

Change iOS simulator keyboard layout to match Macbook keyboard

I have a Macbook with an Azerty (French) keyboard.
Whenever I start the iOS simulator, the default keyboard layout is Qwerty (Dutch), so when I am typing using the physical hardware keyboard of my macbook, some keys (A,Z,M,...) do not match.
The setting Hardware > Keyboard > iOS Uses Same Layout as OSX is enabled.
I know how to change the keyboard settings in when going to the Settings app on the simulator, but the setting is forgotten every time the simulator is restarted (which happens very often when switching between different simulators), so this is a real PITA.
Is there a way to fix this?
"iOS Uses Same Layout" is not very accurate as there's no real way to perfectly proxy the layout between the two very different (at this level of the stack) systems. It uses a "best guess" and will tell iOS to switch to the keyboard associated with the language of your host keyboard.
If you toggle between French/Azerty and Dutch/Qwerty, the simulator will tell the hosted runtime "french" and "english". You need to select "Azerty" as your French layout and Qwerty as your Dutch layout from iOS's keyboard preferences (for each device).

Resources