Merge pull request #125 from victor-gabana/App_becomes_unresponsive_BUG

Moved the logic to enable the user interaction of the views outside t…
This commit is contained in:
Mathias Claassen 2016-10-26 10:55:45 -03:00 committed by GitHub
commit d053e5067f
1 changed files with 8 additions and 8 deletions

View File

@ -441,18 +441,18 @@
{
if (self.containerView == scrollView && _pagerTabStripChildViewControllersForScrolling){
_pagerTabStripChildViewControllersForScrolling = nil;
if (self.navigationController){
self.navigationController.view.userInteractionEnabled = YES;
}
else{
self.view.userInteractionEnabled = YES;
}
[self updateContent];
}
if (self.navigationController){
self.navigationController.view.userInteractionEnabled = YES;
}
else{
self.view.userInteractionEnabled = YES;
}
}
#pragma mark - Orientation
- (void)viewWillTransitionToSize:(CGSize)size withTransitionCoordinator:(id<UIViewControllerTransitionCoordinator>)coordinator