Custom keyboard

Hi there

I’m trying to display a custom keyboard on my iphone/android app.

Since I can’t use the iphone built-in keyboard, I thought the best way was to display a label like this:
GUILayout.Label(“my textfield content”, “textfield”);

So it does look like a textfield but it’s actually a label.

The problem now is… how do I display my own keyboard when this label is clicked? Any other better way to achieve this?

Regards,
Joaquin

You could create an image of a keyboard and then get the rectangles of all the keys. You can then display a button for each key or detect the clicks directly and check which rectangle each one lands in.

you probably would like check following forum posts with custom on-screen keyboard for iphone :

http://forum.unity3d.com/threads/14479-iphone-gui-element-questions?p=102264&viewfull=1#post102264
http://forum.unity3d.com/threads/14479-iphone-gui-element-questions?p=102286&viewfull=1#post102286