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!
source
share