//设置图片位置
homeVC.tabBarItem.imageInsets = UIEdgeInsetsMake(6, 0, -6,0);
//设置文字位置
[[UITabBarItem appearance] setTitlePositionAdjustment:UIOffsetMake(0, -2.5)];
//设置图片位置
homeVC.tabBarItem.imageInsets = UIEdgeInsetsMake(6, 0, -6,0);
//设置文字位置
[[UITabBarItem appearance] setTitlePositionAdjustment:UIOffsetMake(0, -2.5)];