Navigation Page Control from Twitter Pager can not be selected by a user now

This commit is contained in:
mikeEllis 2015-08-14 19:57:15 -03:00
parent a451e19cb5
commit 9dcbca5f38
2 changed files with 4 additions and 1 deletions

View File

@ -94,7 +94,8 @@ Version 2.0.0 (master)
* Bug Fix Issue #45: When the current tab is tapped by the user, and later swiping to another tab, the indicator now changes as expected.
* Bug Fix: When scrolling between tabs with progressive indicator, the indicator now scrolls swiftly. It used to jump for an instant.
* Bug Fix Issue #54: Twitter PagerTabStrip wasn't loading the navigation title correctly.
* Bug Fix Issue ##32: Demo for Nav Button Bar Example fix.
* Bug Fix Issue #32: Demo for Nav Button Bar Example fix.
* Bug Fix Issue #32: Twitter Pager white dots that mark which tab is currently selected is non selectable now.
Version 1.1.1

View File

@ -45,6 +45,7 @@
self.navigationItem.titleView = self.navigationView;
}
[self.navigationView addObserver:self forKeyPath:@"frame" options:NSKeyValueObservingOptionNew | NSKeyValueObservingOptionOld context:0];
[self.navigationView setFrame:CGRectMake(0, 0, CGRectGetWidth(self.navigationController.navigationBar.frame) , CGRectGetHeight(self.navigationController.navigationBar.frame))];
@ -125,6 +126,7 @@
[_navigationPageControl setDotSpacing:4.0f];
[_navigationPageControl setDotColor:[UIColor colorWithWhite:1 alpha:0.4]];
[_navigationPageControl setSelectedDotColor:[UIColor whiteColor]];
[_navigationPageControl setUserInteractionEnabled:false];
return _navigationPageControl;
}