How to create custom keyboard like real keyboard in iOS?

旧巷老猫 提交于 2019-12-23 03:32:00

问题


I have to create custom keyboard like the real keyboard in iOS. I need to do following like keyboard.

like that. How can i create like that? Please tell me , because i'm just new beginner.


回答1:


Here's something that I created that might help. Just fork it on GitHub and change the Punjabi characters to Myanmar. Most of the hard work is done for you :)

https://github.com/kulpreetchilana/Custom-iOS-Keyboards




回答2:


With a custom view and custom buttons. The keyboard itself is something very easy to do, you just need to place some buttons on a view and then show that view. Your real problem will be connecting the button actions to the text field.

You would have to check for the first responder and then add to its text the value corresponding to your custom keyboard. It will be an even more difficult problem to actually "type" those weird characters from the keyboard in the text field. I am not familiar with them, are those real ASCII characters?

Anyway, you're in for quite some work. It's not something very difficult to code, requiring some complicate algorithms, but the implementation will be tricky and complex, so be careful



来源:https://stackoverflow.com/questions/10614966/how-to-create-custom-keyboard-like-real-keyboard-in-ios

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!