TestsTested | ✗ |
LangLanguage | Obj-CObjective C |
License | MIT |
ReleasedLast Release | Dec 2014 |
Maintained by Unclaimed.
The UINavigationController missing methods ! (push / pop with optional completionBlock). The implementation use the navigationController delegate on UINavigationController itself.
This project provides :
[self.navigationController popViewControllerAnimated:YES withCompletionBlock:NULL];
[self.navigationController popViewControllerAnimated:YES withCompletionBlock:NULL];
[self.navigationController popViewControllerAnimated:YES withCompletionBlock:NULL];
- (void)pushViewController:(UIViewController *)viewController
animated:(BOOL)animated
withCompletionBlock:(JMONavCompletionBlock)completionBlock;
- (void)popViewControllerAnimated:(BOOL)animated
withCompletionBlock:(JMONavCompletionBlock)completionBlock;
- (void)popToRootViewControllerAnimated:(BOOL)animated
withCompletionBlock:(JMONavCompletionBlock)completionBlock;
- (void)activateCompletionBlock;
and use the pop/push methods
[self.navigationController popViewControllerAnimated:YES withCompletionBlock:NULL];
[self.navigationController pushViewController:vc animated:YES withCompletionBlock:^(BOOL successful) {
NSLog(@"Hi ! Push done !");
}];
[self.navigationController popViewControllerAnimated:YES withCompletionBlock:NULL];
[self.navigationController pushViewController:vc animated:YES withCompletionBlock:^(BOOL successful) {
NSLog(@"Hi ! Push done !");
}];