A股上市公司传智教育(股票代码 003032)旗下技术交流社区北京昌平校区

 找回密码
 加入黑马

QQ登录

只需一步,快速开始

© wr6524798 中级黑马   /  2015-5-19 22:08  /  984 人查看  /  1 人回复  /   0 人收藏 转载请遵从CC协议 禁止商业使用本文

//代理,返回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

评分

参与人数 1黑马币 +4 收起 理由
mony + 4 学习了

查看全部评分

1 个回复

倒序浏览
学习了......
回复 使用道具 举报
您需要登录后才可以回帖 登录 | 加入黑马