iOS 8:键盘扩展。添加弹出键的问题 [英] iOS 8 : Keyboard Extension. Issue with adding pop up of keys
问题描述
我正在构建我的键盘扩展应用程序,当用户点击它时,我在按钮上添加了关键的流行动画。它适用于内部图像,但顶部行图像弹出区域在剪切子视图时会隐藏。我尝试使用ClipToBound属性并设置为False。但仍然没有工作。任何人都知道如何解决这个问题?在superview上添加子视图也不起作用。
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.
图像A显示正确弹出,因为它在键盘框内。图像B错误,因为框内弹出剪辑。
Image A is showing correct pop up as it is inside frame of keyboard. Image B is wrong as pop up clip inside frame.
推荐答案
我认为你不允许在键盘视图之外显示任何内容;它会自动被裁剪。
I don't think you are allowed to display anything outside of the keyboard view; it will get automatically clipped.
这篇关于iOS 8:键盘扩展。添加弹出键的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!