D
D
Dmitry Zamula2014-01-05 10:00:58
iOS
Dmitry Zamula, 2014-01-05 10:00:58

How to programmatically select a UITextField?

What code can be used to select a UITextField? For example, the following code does not work:
[loginTextField setSelected: true];

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Maxim Timokhin, 2014-01-05
@DimkaMind

[loginTextField becomeFirstResponder]; - set focus to your field

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question