I have set up a UIScrollView with which I want to display 12 images (only 8 fit on screen) laid out horizontally. In the following image you can see the problem
UIScrollView
Insert: [scrollView setContentSize:CGSizeMake(x,y)]; in the following method:
[scrollView setContentSize:CGSizeMake(x,y)];
-(void)viewWillAppear:(BOOL)animated