HOW TO PASS DATA FROM A CHILD VIEW TO A PARENT VIEW

Tarun Kumar

Total Post:214

Points:1642
Posted by  Tarun Kumar
 789  View(s)
Ratings:
Rate this:

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

Can anyone help me please?

  1. Nigel Bunyan

    Post:20

    Points:140
    Re: How to pass data from a child view to a parent view

    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.

Answer

NEWSLETTER

Enter your email address here always to be updated. We promise not to spam!