if pickerView(cityPicker, numberOfRowsInComponent: 0) > 0 {
cityPicker.selectRow(cityPicker.selectedRow(inComponent: 0), inComponent: 0, animated: false)
}
if pickerView(cityPicker, numberOfRowsInComponent: 0) > 0 {
cityPicker.selectRow(cityPicker.selectedRow(inComponent: 0), inComponent: 0, animated: false)
}
本文标题:UIPickerView 第一次不显示横线的解决办法
本文链接:https://www.haomeiwen.com/subject/hwpcxqtx.html
网友评论