0
単一コンポーネントの行の高さが異なるUIPickerViewを作成したい。それはUIPickerViewDataSourceとUIPickerViewDelegateメソッドで可能ですか?UIPickerView同じコンポーネントのスウィフトの行の高さが異なる
func pickerView(pickerView: UIPickerView, rowHeightForComponent component: Int) -> CGFloat {
return 40
}
異なる「コンポーネント」に基づいて異なる値を返そうとすることができます – zcui93