In my
tableView, I have 5tableViewcells. Each has animageView. OutsidetableView, there's aUIButton.UIButtonalso has image on it. Now, my issue is to check if the image oncellsis hidden or not. Clearing the issue, I need to check for all the cells that ifimageViewon all thecellsis hidden or not. I tried this code :
for (int i=0; i<=4; i++)
{
if (cell.unlockImageView.hidden)
{
NSLog(@"calling if for hiding image");
}
}
I don't think my code is correct but I gave it a try and it didn't work. So please suggest me how to check that imageView on all cells is hidden or not?