问题描述
我想增加键盘按键大小是可能的吗?
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
推荐答案
标准键盘显示为窗口,您无法更改其大小。
Standard keyboard appears as a window and you cann't change its size.
自定义键盘只是一个带有backgroundImage和大约30个按钮的自定义视图。我想你应该为这个视图提供一些数据源(用于支持不同的语言)和委托像(void)keyboardDidPushLetter:(MyCustomKeyboard *)keyboard atIndex:(NSInteger)index;
。刚开始实施它。
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.
这篇关于自定义键盘或创建自己的键盘的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!