How to make the scroll VIew scroll in all the direction?
<p>My problem goes like this :-</p>

<pre><code>{       someview = [[someview1 alloc]initWithFrame:CGRectMake(0, 0, 1024, 1024)) resolution:CGSizeMake(768, 960))];

    scrollView = [[UIScrollView alloc]initWithFrame:CGRectMake(0, 0,768,960)];
            scrollView.contentSize = CGSizeMake(1024,1024);


     scrollView.bouncesZoom = YES;
        scrollView.pagingEnabled = YES;
        scrollView.backgroundColor = [UIColor blackColor];
        scrollView.showsHorizontalScrollIndicator = YES;
        scrollView.showsVerticalScrollIndicator = YES;  
        scrollView.userInteractionEnabled = YES;
        CGRect Frame=rdcview.bounds;
        scrollView.minimumZoomScale = 1.0; 
        scrollView.maximumZoomScale = 2.0;
       [scrollView setDelegate:self];

        [scrollView addSubview:someview1];
        [self.view addSubview:scrollView];
}
</code></pre>

<p>After all this i rotate my device but the view is not Scrollable in all the Direction ,  plz help me to find the solution .</p>

<p>Note:--it scrolls but not stick their ,when i remove my finger it just come back to previous<br>
position .</p>
