NSMutableArray *copyArray = [NSMutableArray arrayWithArray:
[self.tabBarController viewControllers]];
[copyArray removeObjectAtIndex:3];
[copyArray removeObjectAtIndex:4];
[copyArray removeObjectAtIndex:0];
[copyArray removeObjectAtIndex:1];
[self.tabBarController setViewControllers:copyArray animated:false];
这一个工作不正常。如何删除目标c中的多个标签栏项目?
谢谢你,现在它的解决方案,它工作正常。 –
@Gowtham欢迎伴侣:) –