So In my 1stViewController I have this code:
@IBAction func colorDropdown(_ sender: Any) { self.popUpColorPicker() } func popUpColorPicker() { let popOv
You can achieve this by either using delegate or completion handler.
delegate
completion handler
Just create a delegate to handle your data on dismissing the second VC.
second VC
**
Write a completion handler closure to get back those values in your first view controller.
closure
view controller