0

I have 2 ViewControllers

  1. ViewControllerA,
  2. ViewControllerB

ViewControllerB is to show popUpView and another is my mainViewController.
When I press cancel button in popUpView I dismiss the present ViewController (i.e ViewControllerB) and try to pass some data to ViewControllerA.
I tried to print value in viewWillAppear() function of ViewControllerA but after dismiss I am not receiving any data from ViewControllerB.

Can anyone help me out how to solve this?

Krzysztof Janiszewski
  • 3,763
  • 3
  • 18
  • 38
Naresh
  • 129
  • 1
  • 11

0 Answers0