Commit graph

21 commits

Author SHA1 Message Date
Joshua Horton
29bb9c5c5b fix(ios): allow swipe-dismissal of Settings to be cancelled
This tweaks the recently-merged #13631, which accidentally introduced a bug in which _any_ downward swiping motion on the Settings view would always dismiss it, even should the user attempt to cancel dismissal.
2025-04-08 10:35:32 +07:00
Joshua Horton
50a4421133 fix(ios): ensures keyboard height is set when settings dismissed when in nav controller 2025-04-02 08:25:34 +07:00
Joshua Horton
a514569596 change(ios): rename doneClicked -> settingsDismissed 2025-04-02 08:24:41 +07:00
Joshua Horton
2e300fcbba fix(ios): slide dismissal of keyboard-height adjuster did not resize keyboard
Fixes: #13443

Slide-dismissal of the settings menu, and of the keyboard-height setting view in particular, should apply changes after dismissal... not only after backing out via navigation buttons.

Certain aspects of the iOS API didn't make it easy, though.  After some searching, I found that "presentation controllers" and related can be leveraged to ensure we can detect Settings menu dismissal.  With that detection in place, we can use the same method that's been working fine for us when backing out of Settings via button.  This also ensures the keyboard will immediately display after dismissal, too!
2025-04-01 10:58:24 +07:00
sgschantz
026edfe388 fix(ios): reworked initialization of keyboardSize
first check UserDefaults for saved values
if no saved values, determine default keyboard heights
write default keyboard heights to UserDefaults
2024-12-07 21:39:00 +07:00
sgschantz
f2ff9591ba fix(ios): add logging, present keyboard height view modally 2024-12-06 08:58:51 +07:00
sgschantz
221ba7b977 fix(ios): attempt to reload in-app keyboard on keyboard height change 2024-11-27 16:03:40 +07:00
sgschantz
9035414709 fix(ios): fully functional UI for keyboard height change
need to handle persistance to UserDefaults
2024-11-14 22:18:09 +07:00
sgschantz
9ff6d70ac1 fix(ios): fix keyboard height layout for portrait 2024-11-04 16:25:10 +07:00
sgschantz
6decb5d160 fix(ios): more image layout debugging and experimenting 2024-11-01 15:21:24 +07:00
sgschantz
7b69bed2cf feat(ios): add KeyboardHeightViewController 2024-10-25 14:41:25 +07:00
sgschantz
0fbf12346d fix(ios): add Adjust Keyboard Height control to Keyman Settings 2024-10-24 13:59:40 +07:00
jahorton
78fb91400a chore(ios): removes the "Show Banner" settings option 2024-03-05 09:51:14 +07:00
sgschantz
542dc83b44 remove XCGLogger dependency from Keyman Engine 2024-01-19 10:47:54 +07:00
jahorton
2e1b18b42f fix(ios): iOS 14 only - stuck settings toggles 2021-08-04 12:13:55 +07:00
jahorton
1c71fb7d5c refactor(ios): SpacebarText enum simplification 2021-06-28 12:25:38 +07:00
Marc Durdin
81a2285972 chore: remove commented code 2021-06-25 11:49:59 +10:00
Marc Durdin
073ca98e2e feat(ios): add spacebar text controls
Relates to #949.

Mirror of #5349 (Android), for iOS.

* Adds setSpacebarText() API to Keyman Engine for iOS
* Adds displayName API to Keyman Engine for iOS
* Adds Preference for spacebar text to Keyman Engine for iOS
* Sets default spacebar text to keyboard name for FirstVoices Keyboards
2021-06-25 11:44:09 +10:00
jahorton
5326927bed chore(ios): Merge branch 'master' into change/ios/workspace-reorg 2021-05-28 11:25:37 +07:00
jahorton
d98af34e71 chore(ios): Merge branch 'master' into change/ios/workspace-reorg 2021-05-28 07:19:14 +07:00
jahorton
d11fe4c64d change(ios): pass 5, more reorganization 2021-05-27 12:53:43 +07:00
Renamed from ios/engine/KMEI/KeymanEngine/Classes/Settings/SettingsViewController.swift (Browse further)