Home > DeveloperSection > Forums > How to pass data from a child view to a parent view
Tarun Kumar

Total Post:213

Points:1635
Posted on    September-17-2015 11:58 PM

 iPhone iPhone  Ios  Objective C 
Ratings:


 1 Reply(s)
 473  View(s)
Rate this:

I am unable to pass data from a Child View back to its Parent View.

Can anyone help me please?



Nigel Bunyan
Nigel Bunyan

Total Post:20

Points:140
Posted on    September-18-2015 11:13 PM

I will solve your problem, in my knowledge there are a number of ways to pass data from Child view to its Parent View.

You can set a member variable in the child, when the variable is added to its parent Send a message to [self superview]

Or you can also use an NSNotification.

There are others, too, of course, but these are the three I use most often.


Don't want to miss updates? Please click the below button!

Follow MindStick