You can make your own view and set it as the inputView property of the text view. You'll need to write your own event handling code to update the text after each key press.
I have heard anecdotally on this site that Apple aren't too keen on keyboard replacements if your keyboard is still basically a keyboard (ie just qwerty buttons, but different shapes or looks) but if you have genuine different functionality in there you shouldn't have a problem.
发布评论
评论(1)
您可以创建自己的视图并将其设置为文本视图的
inputView
属性。您需要编写自己的事件处理代码,以便在每次按键后更新文本。我在这个网站上听说过,如果你的键盘基本上仍然是键盘(即只是 qwerty 按钮,但形状或外观不同),那么苹果不太热衷于更换键盘,但如果你有真正不同的功能,那么你不应该这样做有问题。
You can make your own view and set it as the
inputView
property of the text view. You'll need to write your own event handling code to update the text after each key press.I have heard anecdotally on this site that Apple aren't too keen on keyboard replacements if your keyboard is still basically a keyboard (ie just qwerty buttons, but different shapes or looks) but if you have genuine different functionality in there you shouldn't have a problem.