How can i change the languae of the keyboard? - xcode

My app has a language selection option where all the text can be changed to display their selected language. is it possible to change the text of the keyboard programatically? Right now they can choose from english, french, chinese and spanish. Is this possible?

It isn't possible in iPhone as it allows the user to change only the keyboard language from the Settings > General > Keyboard. However, you can change keyboard language by pressing Globe Icon which is given at left-bottom in the keyboard but before changing it you must have added different languages in keyboard.

Related

Adding Keybinds to Windows10 Right-Click Context Menu?

I work at a Japanese company and we all use Windows 10. I am used to using keybinds after rightclicking for a pop up Context Menu. At home, my PC does not show any keybind options when I do the same thing.
The Japanese image below in not mine, but an example for reference. You can see that "Eject" (取り出し) has a keybind marked as (J).
Is there any option to add this feature to my PC? I have searched everywhere to no avail.
With Keybinds
ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー
Without Keybinds
Thank you in advanced.
They are there but hidden by default when you use the mouse. If you open the context menu with the keyboard (the context menu key or Shift+F10) then they should be underlined.
Starting with Windows 2000, keyboard indicators such as underlined accelerators and focus rectangles (collectively known as “keyboard cues”) are hidden by default, and are revealed only when you start using the keyboard. You can control this behavior from the Desktop Control Panel, under Appearance, Effects, “Hide underlined letters for keyboard navigation until I press the Alt key”.

How to use Xcode "move-line-up" shortcut on German keyboard of Macbook pro?

My Macbook pro has Germany keyboard layout. XCode 4 has a keyboart shortcut for "move-line-up": Option-Command-[, but I cannot do that, as on German keyboard layout, "[" can only be typed using Option-5. So if I type Option-Command-5, it means Option-Command-5.
I have also tried to change the key binding for that function in XCode preference to Option-Command-5, but then in Xcode editor that key binding does not work.
Is there any way to type Option-Command-[ using German keyboard of Macbook Pro?
You could try rebinding the action to a different key combination. To change this, hit ⌘+,, then click the 'Key Bindings' section. Enter 'move line' in the search box and double click on a key combination to change it.
Consider using QWERTY layout for programming, especially Obj-C. Typing {} and [] are just no fun with a German keyboard layout.

Which controls should be keyboard-accessible on Mac OS?

Are there any guidelines for which controls in mac apps should be able to take the focus, by navigating to them by hitting the tab key?
I just checked the system preferences app, and barely any controls seem to do this - for example, in the "Displays" section, the only two that take the focus are the search box and list of resolutions. Is it expected that the other controls cannot be manipulated with the keyboard, or is there some other way?
This behaviour is a user setting governed by System Preferences > Keyboard > Keyboard Shortcuts:

How can I make another button highlighten on popup window on Mac by using Keyboard

On the above shown asking popup window on Mac, how can I select another button (left button) by using keyboard.
Without clicking mouse button, I want to make left button highlighten.
Is there any shortcuts?
Go to Preferences -> Keyboard. At the bottom, turn on "All controls" under "Full Keyboard Access".
The alternate option will be highlighted with a blue ring. Hitting space will activate this. If there are multiple options, hitting tab will alternate between them.
For English/Mac OSX 10.10:
Go to Keyboard in System Preferences, and then select 'All controls'. Space will select the alternate option if two options. If more than two options then tab will alternate between them.
PS: I would much rather the option of using arrow keys and enter. Interested to know if anyone knows how to hack this?
After reading Tricon's answer, I got the way!!!
Just see the following shortcuts.
Preferences -> Keyboard -> Keyboard & keyboard input (I don't know the correct English menu, I'm using Korean "탭이 초점을 이동하는 방식 변경 (^F7) )
Once you do ^F7 (In case of mac book, Control + fn + F7) on a popup window, you can travel over buttons on any popup windw!!!
Thank you Tricon for giving me clue :)
In Catalina in Keyboard -> Shortcuts press Use keyboard navigation to mve focus between controls. Then you can use Tab to highlight another button and use Space to actually press it.

How to tab focus onto a dropdown field in Mac OSX

In Windows, in any windows form or web browser, you can use the tab button to switch focus through all of the form fields.
It will stop on textboxes, radiobuttons, checkboxes, dropdown menus, etc.
However, in Mac OSX, tab skips dropdown menus. Is there anyway to change this behavior, or access the above items mentioned, without using a mouse?
Go to System Preferences > Keyboard and Mouse, then choose Keyboard Shortcuts. At the bottom, ensure Full Keyboard Access is set to "All controls". It's a long time since I turned it on but I think that's all you need to do
Apple Menu > System Preferences > Keyboard & Mouse > Keyboard Shortcuts:
Change the radio button at the bottom from "Text boxes and lists only" to "All controls."
Edit: Dammit. We're a fast group around here aren't we? :-)
I have found that I also need to set accessibility.tabfocus to 7 in Firefox's about:config.
It's in the System Preferences - this blog post shows where the setting is.

Resources