It is very easy and somewhat complicated ...
You do not need to determine a specific size for ScrollView .....
Usually we use to determine .... according to Apple's examples
//
//
... ..
ScrollView , ScrollView....
... ....
scrollview.contentSize = CGSizeMake(320, txtView.contentSize.height+450);
CGPoint topOffset = CGPointMake(0,0);
[scrollview setContentOffset:topOffset animated:YES];
, .
:)