Simulator Screen Shot 2017年3月14日 上午11.29.23.png
解决
//指定列的宽度
- (CGFloat)pickerView:(UIPickerView *)pickerView widthForComponent:(NSInteger)component
{
// 宽度
return kScreenWidth/2;
}
Simulator Screen Shot 2017年3月14日 上午11.29.23.png
解决
//指定列的宽度
- (CGFloat)pickerView:(UIPickerView *)pickerView widthForComponent:(NSInteger)component
{
// 宽度
return kScreenWidth/2;
}
本文标题:20170314: 选择器,仿安卓<我去>
本文链接:https://www.haomeiwen.com/subject/shncnttx.html
网友评论