Skip to content

Commit

Permalink
More stack navigation flow
Browse files Browse the repository at this point in the history
  Instead of continually adding to the end this illustrates adding
  a view controller next to the current view controller.
  • Loading branch information
Franklin Webber committed Mar 27, 2012
1 parent f385277 commit 6eb0a21
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ - (void)pushViewControllerWithColor:(UIColor *)color {
[[viewController view] setBackgroundColor:color];
[viewController setShowBackButton:YES];

[[self stackController] pushViewController:viewController animated:YES];
[[self stackController] pushViewController:viewController fromViewController:self animated:YES];
}


Expand Down

0 comments on commit 6eb0a21

Please sign in to comment.