objective c - Apply check on tableViewCells to hide imageView -


in tableview, have 5 tableview cells. each has imageview. outside tableview, there's uibutton. uibutton has image on it. now, issue check if image on cells hidden or not. clearing issue, need check cells if imageview on cells hidden or not. tried code :

 (int i=0; i<=4; i++)      {      if (cell.unlockimageview.hidden)      {         nslog(@"calling if hiding image");       }     } 

i don't think code correct gave try , didn't work. please suggest me how check imageview on cells hidden or not?

try below code hope can you.

for (customtableviewcell* tblcell in tableview.visiblecells)     {         if (tblcell.unlockimageview.hidden)         {             nslog(@"imageview hidden");         }     } 

Comments

Popular posts from this blog

java - Oracle EBS .ClassNotFoundException: oracle.apps.fnd.formsClient.FormsLauncher.class ERROR -

c# - how to use buttonedit in devexpress gridcontrol -

nvd3.js - angularjs-nvd3-directives setting color in legend as well as in chart elements -