Browse Source

add tabBarDelegate -not really needed since RCCTabBarController is already delegate to him self (inheritss from UITabBarController). adding this for the record. (#604)

Ran 7 years ago
parent
commit
84f30797c0
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      ios/RCCTabBarController.h

+ 1
- 1
ios/RCCTabBarController.h View File

@@ -1,7 +1,7 @@
1 1
 #import <UIKit/UIKit.h>
2 2
 #import "RCTBridge.h"
3 3
 
4
-@interface RCCTabBarController : UITabBarController
4
+@interface RCCTabBarController : UITabBarController <UITabBarDelegate>
5 5
 
6 6
 - (instancetype)initWithProps:(NSDictionary *)props children:(NSArray *)children globalProps:(NSDictionary*)globalProps bridge:(RCTBridge *)bridge;
7 7
 - (void)performAction:(NSString*)performAction actionParams:(NSDictionary*)actionParams bridge:(RCTBridge *)bridge completion:(void (^)(void))completion;