I have UIScrollView where placed elements(elements placed from the top to down), how can I remove one row and smoothly move items up, without redrawing?
I have UIScrollView where placed elements(elements placed from the top to down), how can
Share
Well, an easy way to move UIViews (and subclasses) is using Core Animation.
An example, let’s assume you want to move an
UIImageView10 pixels up, this is how I would do that:EDIT: (Thanks to LucasTizma) Since Apple doesn’t recommend this method you’d better use
animateWithDuration:animations:or any of it’s variants. Check this