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 :)

有帮助吗?

解决方案

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.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top