//
//   DDBaseTabBarController.m
//   DDBasicControlsKit_Private
//   Created by DDIsFriend on 2022/11/7.
    

#import "DDBaseTabBarController.h"

@interface DDBaseTabBarController ()

@end

@implementation DDBaseTabBarController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
}

// MARK: <UIStatusBarStyle>
//- (UIStatusBarStyle)preferredStatusBarStyle{
//    return UIStatusBarStyleDefault;
//}
// override this method will instead - (UIStatusBarStyle)preferredStatusBarStyle.
- (UIViewController *)childViewControllerForStatusBarStyle{
    return self.selectedViewController;
}

- (UIViewController *)childViewControllerForStatusBarHidden{
    return self.selectedViewController;
}

// MARK: <Orientations>
- (BOOL)shouldAutorotate{
    return self.selectedViewController.shouldAutorotate;
}

- (UIInterfaceOrientationMask)supportedInterfaceOrientations{
    return self.selectedViewController.supportedInterfaceOrientations;
}

- (UIInterfaceOrientation)preferredInterfaceOrientationForPresentation{
    return self.selectedViewController.preferredInterfaceOrientationForPresentation;
}
@end
