title: ScrollView, Views not showing up
body: <p>The scroll view shows up, without any of the views visible. The view moves fine, the page control works. When i change the scroller background that all works fine. The views "the different colours" don't show. Have no idea whats wrong. Thanks for the help</p>
  
  <pre><code>-(void)viewDidLoad {    
  [super viewDidLoad];
  
  CGRect frame = CGRectMake(0, 215, WIDTH_OF_IPHONE, HEIGHT_OF_SCROLLER);
  
  int numOfPhotos = 6;
  
  scrollViewer = [[UIScrollView alloc] initWithFrame:frame];
  scrollViewer.contentSize = CGSizeMake((WIDTH_OF_IPHONE*numOfPhotos), HEIGHT_OF_SCROLLER);
  scrollViewer.pagingEnabled = YES;
  //scrollViewer.backgroundColor = [UIColor lightGrayColor];
  [scrollViewer setDelegate:self];
  
  int i = 0;
  
  while (i &lt; numOfPhotos){
  
      CGRect frameOfView = CGRectMake((i*320), 215, 320, HEIGHT_OF_SCROLLER);
      UIView *photoFrame = [[UIView alloc] initWithFrame:frameOfView];
  
      if (i == 0){
          photoFrame.backgroundColor = [UIColor redColor];//colorWithPatternImage:image1];
          NSLog(@"colour was selected");
      }else if (i==1){
          photoFrame.backgroundColor = [UIColor blueColor];//colorWithPatternImage:image2];
      }else if (i==2){
          photoFrame.backgroundColor = [UIColor purpleColor];//colorWithPatternImage:image3];
      }else if (i==3){
          photoFrame.backgroundColor = [UIColor orangeColor];//colorWithPatternImage:image4];
      }else if (i==4){
          photoFrame.backgroundColor = [UIColor magentaColor];//colorWithPatternImage:image5];
      }else{
          photoFrame.backgroundColor = [UIColor greenColor];//colorWithPatternImage:image6];
      }
  
      [scrollViewer addSubview:photoFrame];
      //[photoFrame release];
  
      photoFrame = NULL;
      i++;
  }
  pageControl = [[UIPageControl alloc] initWithFrame:CGRectMake(0, 0, WIDTH_OF_IPHONE, 15)];
  pageControl.center = CGPointMake(scrollViewer.center.x, (208+HEIGHT_OF_SCROLLER));
  
  [pageControl setNumberOfPages:numOfPhotos];
  
  [pageControl addTarget:self action:@selector(pageSwiped:) forControlEvents:UIControlEventValueChanged];
  
  [self.view addSubview:scrollViewer];
  [self.view addSubview:pageControl];
  </code></pre>
  
  <p>My .H file looks like this</p>
  
  <pre><code>@interface HomePage : UIViewController &lt;UIActionSheetDelegate, UIScrollViewDelegate&gt; {
  
     IBOutlet UIScrollView *scrollViewer;
     UIPageControl *pageControl;
     BOOL pageControlUsed;
  
  }
  @end
  </code></pre>