私はViewControllerで私のタブバーの画像を変更しようとしていますが、新しい画像を表示するには、各タブバー項目をクリックする必要があります。ViewController内のタブバー項目を再読み込み/再表示しますか?
for (CustomTabBarItem *myItem in self.tabBarController.tabBar.items){
myItem.enabled = YES;
myItem.badgeValue = @"1";
UIImage *myImage = [[UIImage alloc] initWithContentsOfFile:[[DesignManager sharedManager] getPathOfFile:@"test.png"]];
*myItem.imageSelect= *myImage; // change images of each item. don't appear if I dont click on the item
}
誰でも知っているこれらの画像を直接表示するにはどうすればよいですか? ありがとう
ありがとうございます – blade196