[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
Родитель 261a0af9bb
Коммит d82aaa7fb3
1 изменённых файлов: 1 добавлений и 19 удалений

Просмотреть файл

@ -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];
}