title: How can i add multiple images to my scrollView in ios
body: <p>i have scroll View with three slides,i want to add images to my scroll view.this is my code after this what do i need to add</p>
  
  <pre><code>- (void)loadView {
  [super loadView];
  self.view.backgroundColor = [UIColor redColor];
  UIScrollView *scroll = [[UIScrollView alloc] initWithFrame:CGRectMake(0, 0, self.view.frame.size.width, self.view.frame.size.height)];
  scroll.pagingEnabled = YES;
  NSInteger numberOfViews = 3;
  for (int i = 0; i &lt; numberOfViews; i++) {
  CGFloat xOrigin = i * self.view.frame.size.width;
  UIView *awesomeView = [[UIView alloc] initWithFrame:CGRectMake(xOrigin, 0, self.view.frame.size.width, self.view.frame.size.height)];
  awesomeView.backgroundColor = [UIColor colorWithRed:0.5/i green:0.5 blue:0.5 alpha:1];
  [scroll addSubview:awesomeView];
  [awesomeView release];
  }
  scroll.contentSize = CGSizeMake(self.view.frame.size.width * numberOfViews, self.view.frame.size.height);
  [self.view addSubview:scroll];
  [scroll release];
  }
  </code></pre>