TestFlight build 56: with English and Spanish chosen, "the keyboard is always
stuck in Spanish, with the extra ñ key stuck on the right of the L key".
Black box on Apple's keyboard (iOS 27.2 simulator): adding Spanish offers "Add
to English (US) Keyboard", checked by default, which makes one bilingual
"English & Spanish" keyboard. With English first it is QWERTY with no ñ key, ñ
on a held n (N Ñ Ń Ņ Ň) and English's long presses; English added to the
Spanish keyboard keeps the ñ key and Spanish's long presses (ñ, ª, º, l·l).
Hex instead showed Spanish's own layout whenever the space bar was on
Español, so a bilingual English typist saw the ñ key and Spanish holds.
- KeyboardLanguageList.layout: with English and Spanish both chosen, both type
on the letters and long presses of whichever comes first; any other
language (and Spanish alone, or beside French) keeps its own.
- FullKeyboardEngine.layoutLanguage carries it to the keys and the accent
menu; language (autocorrect, the Spatial and swipe models, the space-bar
label, dictation) still switches on the space bar. The typing models already
read ñ typed from n where a layout has no ñ key.
Unchanged: the language last switched to is global, as Apple's is (a switch in
Messages held in Safari and back), and comes back after the keyboard process
restarts. A field gives Hex nothing to pick from: documentInputMode is nil in
Messages and Hex's own en-US in a test field that asks for English.
Verified: KeyboardLayoutTests.testEnglishAndSpanishTypeOnTheFirstOnesKeys,
FullKeyboardEngineTests.testEnglishAndSpanishShareTheFirstLanguagesKeys; live
on an iPhone 17 iOS 27.2 simulator (Release, Full Access): English + Español
shows QWERTY in both with ñ on a held n, Español + English the ñ key in both,
in Messages, Safari and an English-only field, before and after a keyboard
restart, with the iPhone's languages English or English + Spanish.