Skip to content

Commit

Permalink
Added an additional willMoveToParentViewController call for the side …
Browse files Browse the repository at this point in the history
…drawer
  • Loading branch information
kcharwood committed Jun 9, 2014
1 parent f51ecbb commit 7f15d1c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions MMDrawerController/MMDrawerController.m
Original file line number Diff line number Diff line change
Expand Up @@ -766,6 +766,7 @@ - (void)setDrawerViewController:(UIViewController *)viewController forSide:(MMDr
[currentSideViewController beginAppearanceTransition:NO animated:NO];
[currentSideViewController.view removeFromSuperview];
[currentSideViewController endAppearanceTransition];
[currentSideViewController willMoveToParentViewController:nil];
[currentSideViewController removeFromParentViewController];
}

Expand Down

0 comments on commit 7f15d1c

Please sign in to comment.