Fixed segmented control

Reviewed By: @javache

Differential Revision: D2428947
This commit is contained in:
Nick Lockwood 2015-09-10 04:45:11 -07:00 committed by facebook-github-bot-7
parent 493cb35966
commit 19e421a8dc
1 changed files with 1 additions and 0 deletions

View File

@ -43,6 +43,7 @@
- (void)didChange
{
_selectedIndex = self.selectedSegmentIndex;
if (_onChange) {
_onChange(@{
@"value": [self titleForSegmentAtIndex:_selectedIndex],