문제

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