UIScrollview setContentOffset immediate animation?

Posted by Jess on Stack Overflow See other posts from Stack Overflow or by Jess
Published on 2010-04-28T16:50:26Z Indexed on 2010/04/28 17:03 UTC
Read the original article Hit count: 638

Filed under:
|

Is there anyway to get the setContentOffset animation to happen immediately instead of waiting until the app returns to the main run loop? I tried setting the animation property to NO and nesting inside of an animation block but it still waits until returning to the main run loop. I've also tried using a sub method to perform the animation. My problem is I perform some heavy work after setting the contentOffset so the scroll view waits until this work is complete to animate the setting of the content offset so it appears to lag for a second.

© Stack Overflow or respective owner

Related posts about uiscrollview

Related posts about iphone-sdk