this will help First of all, I'd recommend renaming your image view to not use the UI prefix. In general naming classes that start with an existing framework prefix could cause conflicts and will definitely cause confusion if someone else needs to read your code. Otherwise this question has been answered before.
wish of those help You've got it backwards. Controller containment is one thing, but this is just standard view hierarchy and responder chain stuff. So the touches are initially sent to the parent; specifically a call is made to its view's -(UIView *)hitTest:withEvent:. That returns a child view if one can be found. Otherwise it returns one of its own views. Possibly it returns itself. If a touch is being captured by the parent controller that means it's never been sent to the child. Not that it's being sent to the child then ascending up to the parent.
If I perform an unwind segue (show), how can the mother view controller get the child's view controller?
I hope this helps . You almost have it. You have the unwind segue method, you just aren't using it. You can access the second view controller via the sourceViewController property of the segue that is passed to your unwind method:
//Hello, Adnan, you are 6'3 which is 191cm
self.displayField.hidden = NO;
SecondSceneViewController *source = (SecondSceneViewController *)segue.sourceViewController;
self.heightInches = source.heightField.text
self.displayField.text = [NSString stringWithFormat:@"Hello, %@, you are %@ inches", self.nameField.text, self.heightInches]; //EXAMPLE OUTPUT
What's the difference between popping a view controller, dismissing a view controller, and using an unwind segue?