//
//  UITabBar+ViewConstant.m
//  Gengmei
//
//  Created by wangyang on 2017/11/15.
//  Copyright © 2017年 更美互动信息科技有限公司. All rights reserved.
//

#import "UITabBar+ViewConstant.h"

@implementation UITabBar (ViewConstant)
+ (CGFloat)barHeight {
    CGFloat kTabBarHeight = 49;
    if (@available(iOS 11.0, *)) {
        kTabBarHeight += [UIApplication sharedApplication].keyWindow.safeAreaInsets.bottom;
    }
    return kTabBarHeight;
}

@end
