I have a UITextField
that I want to set into editing mode (keyboard on screen and cursor in text field box) programatically. I know that the user will be in editing mode when this view appears onscreen, so I want to save the user from having to tap the text field.
The "editing" property of a UITextField
is read only - so that doesn't work. Is there a way to set the UITextField
into editing mode, with a keyboard onscreen, programmatically?
question from:
https://stackoverflow.com/questions/4130695/setting-a-uitextfield-into-editing-mode-programmatically 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…