hex/ios/HEXMobile
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Ryan Vogel f2b79cf259 iOS: the full keyboard fits the iPhone Duo, and its strip keeps one height
On the iPhone Duo (iPhone19,4) the full keyboard used iPhone geometry in every
posture. Unfolded, both size classes are regular, so the wide 951 x 669 pt
screen got portrait metrics: 73 pt wide, 45 pt tall keys on 56 pt rows where
Apple's are 38.7 pt on 51.7 pt rows, and 59.7 pt rows when turned. iOS also
sets third-party keyboards in an inset platter there (452 of 466 pt folded,
655 of 669 and 801 of 951 pt unfolded), so Hex's 6.5 pt margins put its keys
well inside Apple's.

The keyboard now reads a KeyboardPosture (phone, cover, unfoldedWide,
unfoldedTall) from its window's screen and the model identifier, and on the
Duo uses Apple's row pitch for that screen and starts its keycaps as far from
the screen's side as Apple's (measured in the iOS 27.2 simulator: rows within
2 pt of Apple's, keycaps within 0.5 pt).

The strip was 44 pt with row 1 right under it, 39 pt in landscape, and grew
16 pt while dictating, so the band above the keys measured 45 pt on iPhones
in portrait, 40 pt in landscape, 61 pt while recording, and 46-58 pt on the
Duo. Apple's band is 51-53 pt everywhere. The strip is now Apple's 44 pt bar
in both orientations and every state, with 8 pt under it on iPhones (row 1 at
52 pt; keyboard 270 pt portrait, 189 pt landscape) and none on the Duo, where
iOS draws its own band above third-party keyboards. Dictating no longer grows
the keyboard (removed recordingLiftHeight); the recording bar fills the strip.
Row 1 takes touches across the gap, as Apple's keys reach about 8 pt above
their keycaps.

Verified: xcodebuild test (304 tests, 0 failures, 1 skipped) with new
KeyboardLayoutTests cases for the Duo's postures and the pinned strip; before
and after screenshots of the extension in Hex's field, Messages, Safari's
address bar and Settings search on the iPhone 17 Pro, 17 Pro Max and SE
(portrait and landscape) and the Duo folded, unfolded upright and turned,
next to Apple's keyboard. Key sizes on the iPhones are unchanged.
2026-11-20 17:10:51 -05:00
..
Assets.xcassets feat: add iOS dictation keyboard 2026-07-19 15:21:45 -04:00
zh-Hans.lproj iOS: Simplified Chinese interface for the app, widgets and permission prompts (#2083) 2026-11-20 18:15:44 +00:00
AcknowledgementsView.swift iOS: never suggest slurs, and swear words only when asked (#2093) 2026-11-20 20:17:31 +00:00
AppleSpeechTranscriber.swift iOS: Simplified Chinese interface for the app, widgets and permission prompts (#2083) 2026-11-20 18:15:44 +00:00
AppShortcuts.xcstrings iOS: Simplified Chinese interface for the app, widgets and permission prompts (#2083) 2026-11-20 18:15:44 +00:00
AudioBackend.swift iOS: rebuild the audio engine before the warm-mic tap so a route change can't crash it (#2064) 2026-11-20 16:25:47 +00:00
ContentView.swift iOS: Simplified Chinese interface for the app, widgets and permission prompts (#2083) 2026-11-20 18:15:44 +00:00
CustomVocabularyEditor.swift iOS: Simplified Chinese interface for the app, widgets and permission prompts (#2083) 2026-11-20 18:15:44 +00:00
DictationController+LaunchFixtures.swift iOS: split DictationController so dev passes the size check (#2066) 2026-11-20 11:42:45 -05:00
DictationController.swift iOS: dictation styles apply in the keyboard and read differently, plus Lowercase (#2103) 2026-11-20 21:47:04 +00:00
EmojiSemanticIndex.swift iOS: emoji panel with on-device suggestions (Experiments › Emoji) (#2051) 2026-11-20 15:53:24 +00:00
FullKeyboardSnapshotStage.swift iOS: the full keyboard fits the iPhone Duo, and its strip keeps one height 2026-11-20 17:10:51 -05:00
HexIntents.swift feat(ios): polish iPhone keyboard dictation, warm sessions, and Live Activity (#574) 2026-10-30 23:35:45 -07:00
HexLinks.swift iOS: privacy and support links in the app, Continue before the mic prompt, typing logs consent (#2063) 2026-11-20 16:23:37 +00:00
HEXMobile.entitlements Set up Hex Mobile internal TestFlight releases (#1997) 2026-11-19 11:48:49 -05:00
HEXMobileApp.swift iOS: settings as a short home screen with Dictation, Keyboard, Privacy and Experiments pages (#2054) 2026-11-20 16:04:10 +00:00
Info.plist iOS: plain permission prompts and no pre-prompt Allow button, for App Review (#2058) 2026-11-20 16:13:36 +00:00
KeyboardPreviewHost.swift iOS: full keyboard by default, typing without Full Access, and a logging mark (#2067) 2026-11-20 16:41:37 +00:00
KeyboardSetup.swift iOS: Simplified Chinese interface for the app, widgets and permission prompts (#2083) 2026-11-20 18:15:44 +00:00
LanguageSettingsRows.swift iOS: several keyboard languages, switched on the space bar, with bilingual autocorrect (#2104) 2026-11-20 22:08:01 +00:00
LiveActivityCoordinator.swift iOS: fix six TestFlight tester issues (audio error, leaked error text, Live Activity, haptics, capitals, push to talk) (#2035) 2026-11-20 13:21:16 +00:00
Localizable.xcstrings iOS: several keyboard languages, switched on the space bar, with bilingual autocorrect (#2104) 2026-11-20 22:08:01 +00:00
Onboarding.swift iOS: onboarding's Microphone row asks for the microphone itself (#2092) 2026-11-20 20:10:10 +00:00
OnboardingProgress.swift iOS: add a three-page first-run onboarding (#2031) 2026-11-20 12:36:45 +00:00
ParakeetTranscriber.swift iOS: Simplified Chinese interface for the app, widgets and permission prompts (#2083) 2026-11-20 18:15:44 +00:00
PrivacyInfo.xcprivacy iOS: version 1.0, iPhone only, privacy manifests (#2052) 2026-11-20 15:54:01 +00:00
SettingsComponents.swift iOS: several keyboard languages, switched on the space bar, with bilingual autocorrect (#2104) 2026-11-20 22:08:01 +00:00
SettingsPages.swift iOS: several keyboard languages, switched on the space bar, with bilingual autocorrect (#2104) 2026-11-20 22:08:01 +00:00
TranscriptCleanup.swift iOS: Simplified Chinese interface for the app, widgets and permission prompts (#2083) 2026-11-20 18:15:44 +00:00
TranslateDictationRow.swift iOS: let Translate what I say insert in the language you usually dictate in (#2078) 2026-11-20 17:53:31 +00:00
TypingInsightsView.swift iOS: Simplified Chinese interface for the app, widgets and permission prompts (#2083) 2026-11-20 18:15:44 +00:00
TypingLogsView.swift iOS: Simplified Chinese interface for the app, widgets and permission prompts (#2083) 2026-11-20 18:15:44 +00:00