Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Added additional container controller method call.

- calling didMoveToParentViewController: after the child controllers are inserted
  • Loading branch information...
commit 1fe0c07e34bf722504b3c63026d5e362578a2b98 1 parent 45689ac
@matej authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  MBPullDownController/MBPullDownController.m
View
2  MBPullDownController/MBPullDownController.m
@@ -167,6 +167,7 @@ - (void)changeFrontControllerFrom:(UIViewController *)current to:(UIViewControll
if (newView) {
newView.frame = containerView.bounds;
[containerView addSubview:newView];
+ [new didMoveToParentViewController:self];
}
}
@@ -186,6 +187,7 @@ - (void)changeBackControllerFrom:(UIViewController *)current to:(UIViewControlle
if (newView) {
newView.frame = containerView.bounds;
[containerView insertSubview:newView atIndex:0];
+ [new didMoveToParentViewController:self];
}
}
}
Please sign in to comment.
Something went wrong with that request. Please try again.