0

I know this question is frequently asked by many users but, i didn't get my answer. I have three view controllers like vc1 , vc2 and vc3. In the first vc1 i have a form that takes some data from user and a table view that select some item from list, on vc1 i have submit button, When i hit submit button it moves to vc2.In vc2 i have some image views that select picture from gallery and display on image view and a submit button at bottom, when hit submit button it moves to next vc3. In vc3 it takes name in text and at bottom a submit button.Now i want that when user dil up the vc1 form and hit submit button the data should be save in any variable and when switch to vc2 and take a picture and move to vc3 and entering the after al this process when it hit submit button all the data he/she put in vc1,vc2and vc3 should be submitted once on the web service. How can i do this , I'm quite new.Im using storyboards and segue for switching to different view controllers.

Hamza Imran
  • 55
  • 1
  • 7

1 Answers1

-1

On each controller save data in a variable and then pass it to next controller.And at third controller use these data to submit on server.

Yatendra
  • 1,310
  • 1
  • 18
  • 31