hai to all , I have added a scroll view of content size 320,1000 to my view its working properly and loading with starting content of scroll view. But,now I want it like showing some place of it when its getting load. that is it shows directly some place of it instead of starting of the content ... Help me it is urgent .. I have tried with [scrollView1 scrollRectToVisible:CGRectMake(60, 300, 240, 40) animated:NO]; [scrollView1 zoomToRect:CGRectMake(60, 300, 240, 40) animated:YES]; but its not working could any one help me .. Thanks
A:
[scrollView setContentOffset:CGPointMake( 0 , 300 )];
Use after setting the content size.
drawnonward
2010-04-30 09:32:18
its working thanks alot for your quick responseThank you
ratnasomu
2010-04-30 09:57:41