// // GTabBarController.m // aiim // // Created by gan on 2025/3/13. // #import "GTabBarController.h" @interface GTabBarController () @end @implementation GTabBarController - (void)viewDidLoad { [super viewDidLoad]; } - (void)setTabBarItems:(NSMutableArray *)tabBarItems { } - (void)viewDidLayoutSubviews { [super viewDidLayoutSubviews]; // tabbar // Cause of increaing tabbar height } - (void)viewDidAppear:(BOOL)animated { [super viewDidAppear:animated]; } - (void)layoutBadgeViewIfNeeded { // async to relocate badgeview __weak typeof(self) weakSelf = self; } - (UIView *)getTabBarContentView:(UITabBarItem *)tabBarItem { UIView *bottomView = [tabBarItem valueForKeyPath:@"_view"]; UIView *contentView = bottomView; return contentView; } @end