title: Objective C: How to highlight the first cell in table view when view loads?
body: <p>I am trying to default the top cell in my table view to be highlighted whenever the subview appears.</p>
  
  <p>I tried to do this:</p>
  
  <pre><code>switch(indexPath.row) { // assuming there is only one section
      case 0:
        cell.textLabel.text = @"First Cell:";
        cell.highlighted = YES
        break;
  </code></pre>
  
  <p>But this doesn't work as I get a black overlay on my first cell instead.</p>
  
  <p>EDIT (added screenshot)</p>
  
  <p><img src="https://i.stack.imgur.com/xOm4i.jpg" alt="enter image description here"></p>
  
  <p>Any advise on this will be greatly appreciated!</p>
  
  <p>Thanks</p>
  
  <p>Zhen</p>