【发布时间】:2013-05-10 05:51:01
【问题描述】:
在 uipickerview 中插入图片之前
在uipickerview中插入图片后
- (UIView *) pickerView:(UIPickerView *)pickerView viewForRow:(NSInteger)row
forComponent:(NSInteger)component reusingView:(UIView *)view {
CGRect imageFrame = CGRectMake(0.0, 0.5, 255, 250);
UIImageView *label = [[UIImageView alloc]
initWithFrame:imageFrame];
label.backgroundColor=[UIColor scrollViewTexturedBackgroundColor];
[label sendSubviewToBack:pview];
[pview sendSubviewToBack: label];
[pview addSubview:label];
return label;
}
【问题讨论】:
标签: ios4 uipickerview xcode4.6 ios6.1