MainTabBarController.h
UITabBarItem *item = [self.tabBar.items objectAtIndex:index];
[item setTitle:title];
if (index==2) {
item.imageInsets=UIEdgeInsetsMake(-14, 0, 14, 0);
}
posted on 2017-10-11 22:33 土匪7 阅读(248) 评论(0) 编辑 收藏 举报