Question: I am building my Keyboard Extension app and i have added key pop animation on button when user tap on it. It works fine for inside image but for top row image pop up area become hidden as it clip the subview. I tried with ClipToBound property and set as False. But still not working. Anyone have any idea how to fix this? adding subview on superview also not works.

Image A is showing correct pop up as it is inside frame of keyboard. Image B is wrong as pop up clip inside frame.

![Image A is showing correct pop up as it is inside frame of keyboard. Image B is wrong as pop up clip inside frame.](https://i.stack.imgur.com/oYhpK.png)

Answer: 
I don't think you are allowed to display anything outside of the keyboard view; it will get automatically clipped.

<https://developer.apple.com/library/ios/documentation/General/Conceptual/ExtensibilityPG/Keyboard.html>
@Ben is correct, you're not allowed to display anything outside the keyboard window. 

If you examine the view hierarchy you can see that the `UIWindow` holding the keyboard extension doesn't extend above the keyboard, so even if you turn off `clipsToBounds` in the entire view hierarchy up to the window, you still can't display outside the window.