GTabBarController.m 823 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. //
  2. // GTabBarController.m
  3. // aiim
  4. //
  5. // Created by gan on 2025/3/13.
  6. //
  7. #import "GTabBarController.h"
  8. @interface GTabBarController ()
  9. @end
  10. @implementation GTabBarController
  11. - (void)viewDidLoad {
  12. [super viewDidLoad];
  13. }
  14. - (void)setTabBarItems:(NSMutableArray *)tabBarItems {
  15. }
  16. - (void)viewDidLayoutSubviews {
  17. [super viewDidLayoutSubviews];
  18. // tabbar
  19. // Cause of increaing tabbar height
  20. }
  21. - (void)viewDidAppear:(BOOL)animated {
  22. [super viewDidAppear:animated];
  23. }
  24. - (void)layoutBadgeViewIfNeeded {
  25. // async to relocate badgeview
  26. __weak typeof(self) weakSelf = self;
  27. }
  28. - (UIView *)getTabBarContentView:(UITabBarItem *)tabBarItem {
  29. UIView *bottomView = [tabBarItem valueForKeyPath:@"_view"];
  30. UIView *contentView = bottomView;
  31. return contentView;
  32. }
  33. @end