title: iPhone app issue: UIImageView sequence not loading
body: <p>First off, I am just starting with Xcode and iPhone developing, so please bear with me if these issues are redundant...I haven't found the answer yet, hence my posting. Second...ok, there is second...so I will get to the question. </p>
  
  <p>I am using an UIImage view for the background image of my TheEyeViewController and I need another UIImageView to set on top of the background UIImageView. The foreground UIImageView needs to load a sequence of images...but it's not working. When I try to setup the foreground image view with code, I don't think the compiler is able to differentiate between the 2 image views. It doesn't crash...the sequence just doesn't show up.</p>
  
  <p>Any help on this is greatly appreciated.
  Thank you for your time.</p>
  
  <p>//.h</p>
  
  <p>UIImageView *imageView;</p>
  
  <p>@property(nonatomic, retain) IBOutlet UIImageView *imageView;</p>
  
  <pre><code>//.m
  
  - (void)viewDidLoad
  
  {
  
   imageView.animationImages = [NSArray arrayWithObjects:
                                   [UIImage imageNamed:@"openingSeq1.jpg"],
                                   [UIImage imageNamed:@"openingSeq2.jpg"],
                                   [UIImage imageNamed:@"openingSeq3.jpg"],
                    [UIImage imageNamed:@"openingSeq4.jpg"],
                    [UIImage imageNamed:@"openingSeq5.jpg"],
                    [UIImage imageNamed:@"openingSeq6.jpg"],
                    [UIImage imageNamed:@"openingSeq7.jpg"],
                    [UIImage imageNamed:@"openingSeq8.jpg"],
                    [UIImage imageNamed:@"openingSeq9.jpg"],
                    [UIImage imageNamed:@"openingSeq10.jpg"],nil];
  
      imageView.animationDuration = 2;
      imageView.animationRepeatCount = 1;
      [imageView startAnimating];
      [self.view addSubview:imageView];
  </code></pre>
  
  <p>if(imageView.image == nil)
      {
          labelRandText.text = @"Images didn't load.";
      }</p>
  
  <pre><code>    [super viewDidLoad];
  
  } 
  </code></pre>