objective c - Apply check on tableViewCells to hide imageView -
in
tableview, have 5tableviewcells. each hasimageview. outsidetableview, there'suibutton.uibuttonhas image on it. now, issue check if image oncellshidden or not. clearing issue, need check cells ifimageviewoncellshidden 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
Post a Comment