自定义键盘或创建自己的键盘
我想增加键盘按键大小可以吗?
如果我需要创建自己的自定义键盘,我想增加键盘按键的大小。 请告诉我如何实施这个...... 任何教程或代码示例都会有帮助。 感谢您的时间和意见
i would like to increase the keyboard key size is that possible?
if i need to create my own custom keyboard , i want to increase the keyboard keys size.
Please provide me how can i go with implementing this...
any tutorials or code sample would be helpful .
Thanks for your time and views
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
标准键盘显示为一个窗口,您无法更改其大小。
自定义键盘只是一个带有背景图像和大约 30 个按钮的自定义视图。我想您应该为此视图提供一些数据源(用于不同的语言支持)并像
(void)keyboardDidPushLetter:(MyCustomKeyboard *)keyboard atIndex:(NSInteger)index;
一样委托。就开始实施吧。Standard keyboard appears as a window and you cann't change its size.
Custom keyboard is just a custom view with backgroundImage and about 30 buttons. I guess you should provide some datasource for this view (for different language supporting) and delegate like a
(void)keyboardDidPushLetter:(MyCustomKeyboard *)keyboard atIndex:(NSInteger)index;
. Just start implement it.