search

Home  >  Q&A  >  body text

objective-c - tabBarItem的标题

 foodViewController *food =[[foodViewController alloc]init];
    food.view.backgroundColor=[UIColor redColor];
    food.tabBarItem.title=@"觅食";
    
    food.tabBarItem= [[UITabBarItem alloc] initWithTabBarSystemItem:UITabBarSystemItemSearch tag:1];

标题不变 怎么解决 想用UITabBarSystemItemSearch 但是怎么修改标题呢?

迷茫迷茫2757 days ago638

reply all(0)I'll reply

No reply
  • Cancelreply