黑马程序员技术交流社区
标题:
UIPickerView
[打印本页]
作者:
wr6524798
时间:
2015-5-19 22:08
标题:
UIPickerView
//代理,返回UIPickerView有多少列
-(
NSInteger
)numberOfComponentsInPickerView:(
UIPickerView
*)pickerView{}
//代理,返回UIPickerView中component列有多少行
-(NSInteger)pickerView:(UIPickerView *)pickerView numberOfRowsInComponent: (NSInteger)component
//代理,返回UIPickerView中得component列,row行的内容
-(NSString *)pickerView:(UIPickerView *)pickerView titleForRow:(NSInteger)row forComponent:(NSInteger)component
//代理 可以得到UIPickerView中当前选中的component列,row行的内容
-(void)pickerView:(UIPickerView *)pickerView didSelectRow:(NSInteger)row inComponent:(NSInteger)component
作者:
mony
时间:
2015-5-21 17:00
学习了......
欢迎光临 黑马程序员技术交流社区 (http://bbs.itheima.com/)
黑马程序员IT技术论坛 X3.2