Skip to content

Commit

Permalink
Updated remove functions to support childViewController
Browse files Browse the repository at this point in the history
  • Loading branch information
Kieran authored and Kieran committed Jan 3, 2013
1 parent af2130a commit 289ece1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Class/KLNoteViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ -(void) removeNavigationContainersFromSuperView {
for (KLControllerCard* navigationContainer in self.controllerCards) {
[navigationContainer.navigationController willMoveToParentViewController:nil]; // 1
[navigationContainer removeFromSuperview]; // 2
[navigationContainer.navigationController removeFromParentViewController]; // 3
[navigationContainer.navigationController removeFromParentViewController]; // 3
}
}

Expand Down
Binary file not shown.

0 comments on commit 289ece1

Please sign in to comment.