Basic Step:
1) Get value from Picker :
=> use below datasource method
func pickerView(pickerView: UIPickerView, didSelectRow row: Int, inComponent component: Int)
{
// use the row to get the selected row from the picker view
// using the row extract the value from your datasource (array[row])
// Put code for add value on UILabel
}
2) Send it to another view controller
How do you pass data between view controllers in Swift?
6
solved I Want to pull a result from a Pickerview and put it in a label in another view controller in xcode with swift 3 [closed]