我试图多次更新 tabBarItem,但我无法让它工作。
我使用了这些方法:
self.tabBarItem = [[[UITabBarItem alloc] initWithTitle:@"New title" image:image tag:0] autorelease];
和:
self.tabBarItem.title = @"New title";
self.tabBarItem.image = image;
他们工作,但只有一次。所以现在我被困住了。
任何帮助表示赞赏。
谢谢