[React Native] Remove RKCustomTabBarController

Summary:
@public
Closes GitHub issue #1064

Test Plan: @nicklockwood approves.
This commit is contained in:
Alex Akers 2015-04-30 08:03:04 -07:00
parent 261a0af9bb
commit d82aaa7fb3
1 changed files with 1 additions and 19 deletions

View File

@ -18,24 +18,6 @@
#import "RCTWrapperViewController.h"
#import "UIView+React.h"
@interface RKCustomTabBarController : UITabBarController <RCTViewControllerProtocol>
@end
@implementation RKCustomTabBarController
@synthesize currentTopLayoutGuide = _currentTopLayoutGuide;
@synthesize currentBottomLayoutGuide = _currentBottomLayoutGuide;
- (void)viewWillLayoutSubviews
{
[super viewWillLayoutSubviews];
_currentTopLayoutGuide = self.topLayoutGuide;
_currentBottomLayoutGuide = self.bottomLayoutGuide;
}
@end
@interface RCTTabBar() <UITabBarControllerDelegate>
@end
@ -53,7 +35,7 @@
if ((self = [super initWithFrame:CGRectZero])) {
_eventDispatcher = eventDispatcher;
_tabViews = [[NSMutableArray alloc] init];
_tabController = [[RKCustomTabBarController alloc] init];
_tabController = [[UITabBarController alloc] init];
_tabController.delegate = self;
[self addSubview:_tabController.view];
}