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:
commit
d053e5067f
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue