需要实现UIPickerViewDataSource,UIPickerViewDelegate协议 [selectPicker selectedRowInComponent:0]; 转载于:https://www.cnblogs.com/ejllen/p/3719189.html