Tag: UITableViewUIPICKER视图

UITableView中的UIPickerView

首先:我知道有些人已经发表了这样的话题,但是没有人在所有这些话题上给出明确的答案。 我的应用程序中有一个设置-UITableView。 现在我想添加一个TableViewCell,我可以在UIPickerView之间select一些数字。 在tableView didSelectRowAtIndexPath方法中,我为右侧单元格创build了if语句 -(void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath{ if (indexPath.row == 1){ } } 我怎样才能为这个单元格添加一个UIPickerView? 它应该从底部向上滑动,如果像“完成”button那样会很好。