How to scroll a UIScrollView programatically ?

By | April 17, 2012

Hi,

If you want to scroll a UIScrollView programatically as the result of any IBOutlet actions, use the following code in that particular action.

[yourScroller setContentOffset:CGPointMake(0,250) animated:YES];

This will scroll your scroller named ‘yourScroller’ automatically to the point specified!
🙂

Website Pin Facebook Twitter Myspace Friendfeed Technorati del.icio.us Digg Google StumbleUpon Premium Responsive

Leave a Reply

Your email address will not be published. Required fields are marked *