标签: ios4
答案 0 :(得分:1)
请尝试以下代码:
-(void)pickerView:(UIPickerView *)pickerView didSelectRow:(NSInteger)row inComponent:(NSInteger)component { //write your action here. }