yogevbd 6 years ago
parent
commit
d92838f3ef
1 changed files with 5 additions and 0 deletions
  1. 5
    0
      lib/ios/RNNTabBarController.m

+ 5
- 0
lib/ios/RNNTabBarController.m View File

41
 	}
41
 	}
42
 }
42
 }
43
 
43
 
44
+- (void)setSelectedIndex:(NSUInteger)selectedIndex {
45
+	_currentTabIndex = selectedIndex;
46
+	[super setSelectedIndex:selectedIndex];
47
+}
48
+
44
 - (void)mergeOptions:(RNNOptions *)options {
49
 - (void)mergeOptions:(RNNOptions *)options {
45
 	[self.getLeafViewController mergeOptions:options];
50
 	[self.getLeafViewController mergeOptions:options];
46
 }
51
 }