I want to have a UIImageView follow the first cell down when scrolling down. So to do that, I thought I might try:
CGRect rect = [foldersTable convertRect:[foldersTable rectForRowAtIndexPath:indexPath2] toView:[foldersTable superview]];
imageView.frame=rect;
The problem is that the rect is not updating live as I scroll the table view. Where would I have to place the above code so that it updates as I scroll the table? Or am I missing anything else?
The correct way to do this is:
This way it updates live as the scrollView in the tableView scrolls.