diff --git a/XLPagerTabStrip/XL/Controllers/XLPagerTabStripViewController.m b/XLPagerTabStrip/XL/Controllers/XLPagerTabStripViewController.m index afac934..a85ccc9 100644 --- a/XLPagerTabStrip/XL/Controllers/XLPagerTabStripViewController.m +++ b/XLPagerTabStrip/XL/Controllers/XLPagerTabStripViewController.m @@ -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)coordinator