ScrollView content size
<p>I've a ScrollView that contains three view.</p>

<p>My intent is to make a ScrollView that has a particular geometric shape.
I want a vertical scrolling only if I am in the second view.</p>

<pre><code>UIViewController* VC1=[[UIViewController alloc]initWithNibName:@"ViewController1" bundle:nil];
    [self addChildViewController:VC1];
    [self.scrollView addSubview:VC1.view];
    [VC1 didMoveToParentViewController:self];

UIViewController* VC2=[[UIViewController alloc]initWithNibName:@"ViewController2" bundle:nil];
[self addChildViewController:VC2];
[self.scrollView addSubview:VC2.view];
[VC2 didMoveToParentViewController:self];

CGRect VC2frame=VC2.view.frame;
VC2frame.origin.x=self.view.frame.size.width;
VC2.view.frame=VC2frame;

UIViewController* VC3=[[UIViewController alloc]initWithNibName:@"ViewController3" bundle:nil];
[self addChildViewController:VC3];
[self.scrollView addSubview:VC3.view];
[VC3 didMoveToParentViewController:self];

CGRect VC3frame=VC3.view.frame;
VC3frame.origin.x=self.view.frame.size.width;
VC3frame.origin.y=self.view.frame.size.height;
VC3.view.frame=VC3frame;

self.scrollView.contentSize=CGSizeMake(self.view.frame.size.width*2, self.view.frame.size.height*2);
</code></pre>

<p>If I set the contentSize like above, it gives my another ( blank ) view under the first .</p>

<p>How can I try a solution?</p>