0

What should be the best possible way to get the data from ViewControllerA to ViewControllerB.

Here ViewContollerA has the data pulled from web by JSON parsing. And ViewControllerB has the text view and labels that are to be filled by the data pulled in ViewControllerA

Any guide or reference would be greatly appreciated.

1 Answers1

-1

There are multiple ways to do this.

  • pass data through segues
  • notification center
  • static object/service
  • and more!

I found how-ios-view-controllers-communicate-with-each-other for you

Vinodh
  • 5,262
  • 4
  • 38
  • 68
Xavier L.
  • 709
  • 5
  • 21