TextField have no Done or cancel button on Iphone and iPad

Dear friends.
The Textfield have no Done or Cancel button on iPhone, can any one tell me how to show the done or cancel button ?.

Thanks

You could do something like this:

var input = "";
var showTextField = true;

function OnGUI(){
    if (showTextField == true){
        GUILayout.BeginHorizontal();
        input = GUILayout.TextField(input, 100, GUILayout.Width(100));
        if (GUILayout.Button("Enter")){
            showTextField = false;
            Debug.Log(input);
        }
        else if (GUILayout.Button("Cancel")){
            showTextField = false;
            input = "";
        }
        GUILayout.EndHorizontal();    
    }
}

Hi, Thanks for the reply. i have solved the problem .

if (GUI.Button (new Rect (50, 50, 300, 50), userName, “textField”)) {
nameKeyboard = TouchScreenKeyboard.Open (userName, TouchScreenKeyboardType.Default);
}
if (nameKeyboard != null) {
if (nameKeyboard.done) {
userName = nameKeyboard.text;
}
}