Detect the appearance and disappearance of an international keyboard

When the keyboard appears, is there a way to detect that it is an international keyboard (with an extra ribbon on top of a regular keyboard to display international characters), and also get its frame size? I need to use this information to move up (if necessary) the view above the keyboard.

0
source share
1 answer

Check out this article: http://mobile.tutsplus.com/tutorials/iphone/ios-sdk-keeping-content-from-underneath-the-keyboard/

It covers most of your questions. In addition to notifications, text presentations will become or are retiring the "first responder" who will open or hide the keyboard view.

As for whether international characters are displayed on the keyboard, I'm not sure how to do this. However, if you get the frame size on the keyboard (as described in the tutorial), you can customize your view accordingly, considering that this was your problem.

UPDATE

Also check: Keyboard resize event in iOS 5 (Chinese keyboard error)?

+4
source

Source: https://habr.com/ru/post/1487048/


All Articles