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
}
これらの画像を直接表示するにはどうすればよいですか?ありがとう