Permalink
Browse files

Make sure child controllers get delegate calls.

  • Loading branch information...
1 parent 8c9f600 commit ef49001c49d9930a8ee265789a1fd338a0f9a907 @Inferis Inferis committed Mar 6, 2013
Showing with 1 addition and 0 deletions.
  1. +1 −0 NavigationExample/NavigationExample/CenterViewController.m
View
1 NavigationExample/NavigationExample/CenterViewController.m
@@ -51,6 +51,7 @@ - (IBAction)goOnPressed:(id)sender {
leftViewController:leftController
rightViewController:rightController];
deckController.navigationControllerBehavior = self.behavior;
+ deckController.delegateMode = IIViewDeckDelegateAndSubControllers;
controller = deckController;
}

0 comments on commit ef49001

Please sign in to comment.