Keyboard Clips iOS8ToBounds

I am trying to write a custom keyboard for iOS8 and so far, minus the odd hiccups, I have not had too many problems. However, when I create the view and add it as a subtitle UIButtonthat I added to the view on the keyboard, the newly added image is cropped at the top of the keyboard. From what I can say, the hierarchy is as follows:

UIView(popup) → UIButton(actual "key") →UIInputView

In this hierarchy, the top level UIViewis clipped inside UIInputView. Each UIViewwas clipsToBoundsset to a value false, and I also set UIView( self.view) falseto within UIInputViewController, but it didn't seem to help.

This may be a limitation of the expansion system at the moment, but hopefully this is something stupid that I do!

+4
source share
1 answer

It's impossible. According to the documents it says: "In addition, it is impossible to display key illustrations above the top line, since the system keyboard does on the iPhone when you press the key on the top line.", Which is a shame.

Thanks to @Spentak for pointing out that

+5
source

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


All Articles