开发者

Can we create the Custom Cell with the UIPickerView?

I have to create the custom TableView 开发者_如何学JAVAwith the picker control in multiple rows,can anyone help me on this?


You can add the UIPickerView as a subView of UITableViewCell.

[cell.contentView addSubView:pickerView];

Don't forget to return the appropriate height from heightForRowAtIndexPath: method.

if (cellContainsPickerView) return 200.0; // The height of the picker view
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜