Titanium Community Questions & Answer Archive

We felt that 6+ years of knowledge should not die so this is the Titanium Community Questions & Answer Archive

Zoom animation in a ScrollView

I'd like to reset a ScrollView when the user is double tapping. Is there a way to zoom smoothly? Just like scrollTo.

Here's my code:

function resetZoom() {
    myScrollView.zoomScale = 1;
    myScrollView.scrollTo(250,250);
}

Thank you!

— asked April 5th 2010 by Niko B
  • animation
  • iphone
  • scrollview
  • zoomscale
0 Comments

2 Answers

  • bumb…

    — answered October 13th 2010 by Roger Chapman
    permalink
    0 Comments
  • bump

    — answered January 14th 2012 by maurilio di cicco
    permalink
    0 Comments
The ownership of individual contributions to this community generated content is retained by the authors of their contributions.
All trademarks remain the property of the respective owner.