0

我找不到一个属性来设置我的 UIPickerView 可检查...在其他程序中,我可以选择一个项目并且 pickerView 显示一个复选标记:-(

4

3 回答 3

1

Here I solve this problem by creating controller.With this we can able to design view with our own way.Here,I use a UITableView and some custom Delegates methods to create a picker view.

Hope,it solve your problem

Check this link also:

Click here!

于 2012-10-20T17:57:03.693 回答
0

有关重现启用复选标记的 UIPickerView的详细信息,请参阅我的答案,就像 Mobile Safari 用于下拉菜单的那样。

于 2011-08-12T11:35:03.523 回答
0

您将不得不制作一个自定义选择器视图。有一种方法是 viewForPickerView:atComponent:row: 或类似的方法。您将需要返回自己的视图并执行自己的逻辑来绘制复选标记。

于 2009-09-14T15:40:04.457 回答