Is there any way that I can get a specific cell to change its style or background image while scrolling the table view?
I want to change the image of a cell which is on top of the visible cells. But only its image is going to be changed the others will stay same, until after scrolling the others come to top of the cells which are shown on the screen. Then the top one’s image is going to change this time.
You need to implement
scrollViewDidScroll:method of UIScrollViewDelegate in your controller then usevisibleCellsproperty of UITableView to get the visible cells of the table.Something like the following code should work