title: How do I re-position a UIImageView in a UITableViewCell
body: <p>I have a cellForRowAtIndexPath method that uses a switch to build cells like so:</p>
  
  <pre><code>switch (indexPath.row) {
          case 0:
              cell.imageView.image = [UIImage imageNamed:@"Usar mi ubicacion actual.jpg"];
              [cell.imageView setFrame:CGRectMake(5, 5, cell.imageView.image.size.width, cell.imageView.image.size.height)];
              break;
  </code></pre>
  
  <p>but its not working.  I changed it to this:</p>
  
  <pre><code>- (UITableViewCell*)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath {
  
  
      UITableViewCell *cell = [[[UITableViewCell alloc] initWithStyle:UITableViewCellStyleSubtitle reuseIdentifier:@"MyIdentifier"] autorelease];
  
  
      switch (indexPath.row) {
          case 0:
              self.locationButtonImageView.image = [UIImage imageNamed:@"Usar mi ubicacion actual.jpg"];
              //cell.imageView.image = [UIImage imageNamed:@"Usar mi ubicacion actual.jpg"];
              break;
  </code></pre>
  
  <p>The cell loads without the button image.  If I tap the cell, the toggle works and displays the selected button image and from then on it keeps toggling.  So it may be an issue of loading too late, right?</p>