How to pass data from a child view to a parent view

Total Post:214

Points:1642
 1031  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. 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.

      Modified On Apr-10-2018 02:43:04 AM

Answer