M13ProgressSuite
M13ProgressSuite copied to clipboard
The navigation progress sometimes can not work common
- (void)backItemAction { if ([self.navigationController isShowingProgressBar]) { [self.navigationController cancelProgress]; [self.navigationController setProgress:0 animated:NO]; } [self.navigationController popViewControllerAnimated:YES]; }
I use navigation progress in a webView, it works. but sometimes, when I pop back, the navigation progress will not cancel or finish. The prev viewcontroller will show the progress. It happened sometimes.