TOP和BOTTOM大小一定要一样!
//UITabBarItem*item = nav.tabBarItem;
item.imageInsets=UIEdgeInsetsMake(5,0, -5,0);
TOP和BOTTOM大小一定要一样!
//UITabBarItem*item = nav.tabBarItem;
item.imageInsets=UIEdgeInsetsMake(5,0, -5,0);
本文标题:UITabBarItem 只有图片,没有文字,使图片居中
本文链接:https://www.haomeiwen.com/subject/tzvhwxtx.html
网友评论