title: UISwitch in a UITableView cell
body: <p>How can I embed a <code>UISwitch</code> on a <code>UITableView</code> cell? Examples can be seen in the settings menu.</p>
  
  <p><strong>My current solution:</strong></p>
  
  <pre><code>UISwitch *mySwitch = [[[UISwitch alloc] init] autorelease];
  cell.accessoryView = mySwitch;
  </code></pre>