scrolling vertically
<p>i am using the following code to scroll image on scrooll view,</p>

<pre><code>StoryViewScroller = [[[UIScrollView alloc] initWithFrame:CGRectMake(0.0f, 79.0f, 320.0f, 262)] autorelease];
StoryViewScroller.contentSize = CGSizeMake(NPAGES * 320.0f, StoryViewScroller.frame.size.height);
StoryViewScroller.pagingEnabled = YES;
StoryViewScroller.delegate = self;
StoryViewScroller.showsHorizontalScrollIndicator = NO;
StoryViewScroller.scrollsToTop = YES;
// Load in all the pages
for (i = 0; i &lt; NPAGES; i++)
{
    NSString *filename = [NSString stringWithFormat:@"%d.jpg", i+1];
    UIImageView *iv = [[UIImageView alloc] initWithImage:[UIImage imageNamed:filename]];
    iv.frame = CGRectMake(i * 320.0f, 0.0f, 320.0f, 262);
    [StoryViewScroller addSubview:iv];
    NSLog(@"I is :: %d" ,i);
    [iv release];
}

[self.view addSubview:StoryViewScroller];
</code></pre>

<p>this enable mein tos scroll view from left to right and vice versa.what should i change to sroll view to top to bottom and vice versa.</p>

<p>sugggestions</p>

<p>regards</p>
