Skip to content

Commit ef49001

Browse files
committed
Make sure child controllers get delegate calls.
1 parent 8c9f600 commit ef49001

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

NavigationExample/NavigationExample/CenterViewController.m

+1
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ - (IBAction)goOnPressed:(id)sender {
5151
leftViewController:leftController
5252
rightViewController:rightController];
5353
deckController.navigationControllerBehavior = self.behavior;
54+
deckController.delegateMode = IIViewDeckDelegateAndSubControllers;
5455
controller = deckController;
5556
}
5657

0 commit comments

Comments
 (0)