Scroll to a specific position in UIScrollView

Dragging the scroller to a specific location automatically when user scrolls through the scroll view the very first time.

If we have the requirement of dragging the scoll automatically to a specific position when the user scrolls the first time then just

 1. set the scroll view delegate

 2. add its protocol

and use the following code :-

- (void) scrollViewDidEndDecelerating:(UIScrollView *) scrollView
{

         // resets the position automatically.

[scrollsetContentOffset:CGPointMake(xposition,yposition) animated:YES];

}

150 150 Burnignorance | Where Minds Meet And Sparks Fly!