Compare commits
4 Commits
| Author | SHA1 | Date |
|---|---|---|
|
|
d053e5067f | |
|
|
bcf0e6daec | |
|
|
0674804512 | |
|
|
2e46fbb8ea |
|
|
@ -405,6 +405,10 @@
|
|||
|
||||
[buttonBarCell.label setText:[childController titleForPagerTabStripViewController:self]];
|
||||
|
||||
if (self.buttonBarView.labelFont) {
|
||||
buttonBarCell.label.font = self.buttonBarView.labelFont;
|
||||
}
|
||||
|
||||
if ([childController respondsToSelector:@selector(imageForPagerTabStripViewController:)]) {
|
||||
UIImage *image = [childController imageForPagerTabStripViewController:self];
|
||||
buttonBarCell.imageView.image = image;
|
||||
|
|
|
|||
|
|
@ -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