Question

Using inappsettingskit, I'm searching for a way to display an uipickerview (with custom values) when clicking on a textfield cell (instead of a keyboard).

Is there any way to do so ?

Thanks for your help :)

Était-ce utile?

La solution

Read the setting in you application and for showing picker view instead of standard keyboard use UITextField inputView property.

myTextField.inputView = myPickerView;

From Apple Documentation for inputView .

If the value in this property is nil, the text field displays the standard system keyboard when it becomes first responder. Assigning a custom view to this property causes that view to be presented instead.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top