Browse Source

Return options in RNNTabBarController

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

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

45
 	[((UIViewController<RNNRootViewProtocol>*)self.selectedViewController) mergeOptions:options];
45
 	[((UIViewController<RNNRootViewProtocol>*)self.selectedViewController) mergeOptions:options];
46
 }
46
 }
47
 
47
 
48
+- (RNNNavigationOptions *)options {
49
+	return [((UIViewController<RNNRootViewProtocol>*)self.selectedViewController) options];
50
+}
51
+
48
 - (NSString *)componentId {
52
 - (NSString *)componentId {
49
 	return ((UIViewController<RNNRootViewProtocol>*)self.selectedViewController).componentId;
53
 	return ((UIViewController<RNNRootViewProtocol>*)self.selectedViewController).componentId;
50
 }
54
 }