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歡迎伴侶:) –