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!
🙂

 

Leave a Reply

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

 

 

 

Theme by HermesThemes

Copyright © 2018 CoderzHeaven. All Rights Reserved

Please wait...

Subscribe to our newsletter

Want to be notified when our article is published? Enter your email address and name below to be the first to know.