BBATabBarController+HomeIndicator.h 596 Bytes
//
//  BBATabBarController+HomeIndicator.h
//  BBAUIKit
//
//  Created by Dong,Pengyu on 2019/9/24.
//

#import <BBAUIKit/BBAUIKit.h>

NS_ASSUME_NONNULL_BEGIN

@interface BBATabBarController (HomeIndicator)
/*
 * Override to return a child view controller or nil. If non-nil, that view controller's home indicator auto-hiding will be used. If nil, self is used. Whenever the return value changes, -setNeedsHomeIndicatorAutoHiddenUpdate should be called.
 * https://www.jianshu.com/p/052c04bc1bc9
 */
- (UIViewController*)childViewControllerForHomeIndicatorAutoHidden;
@end

NS_ASSUME_NONNULL_END