IOS上 Unity4.x 键盘输入上面的InputView会不显示 BUG

时间:2015-09-12 16:04:28   收藏:0   阅读:315

NGUI没设置hideInput 但是又看不见输入内容

解决办法: 

修改编译的xcode工程里的 keyboard.mm 文件里的 positionInput 方法

257行

textField.frame = CGRectMake(textField.frame.origin.x, textField.frame.origin.y, kbRect.size.width - 3*18 - 2*50, textField.frame.size.height);

原文:http://www.cnblogs.com/reuyui/p/4802986.html

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!