I have a container view controller say ContainerViewController and another UIViewController(PhotoViewcController) which i am adding as a childviewcontroller in ContainerViewController. So that message is forwarded from ContainerViewController to PhotoViewcController. But how can i use the two way relation in the parent child view controllers? so that message is passed form PhotoViewcController to ContainerViewController.
I have a container view controller say ContainerViewController and another UIViewController(PhotoViewcController) which i am
Share
make a property in child class like this
and synthesize it, and when you go to child view controller, set the delegate as self before push/present as
now when you want to send the message, do this
tell me if you need further explanation