I'm making changes to a tableView using a beginUpdates/endUpdates block. Throughout the way I need to update a drop shadow so that it reflects the tableView's current composition.
I tried setting up KVO for the tableView's contentSize
but it's only called on endUpdates
, once the animation has finished. What I want is for it to be called every time contentSize
changes (even if it's by only a pixel). Is there any way to achieve this?