title: iOS - Add ToggleSwitch on right-side of TableRow programmatically
body: <p>Currently I am adding an icon to the right-side of one row and toggle the light on selection of that specific row.</p>
  
  <pre><code>-(UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath
  {
      static NSString *SimpleTableIdentifier = @"SimpleTableIdentifier";
      UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:SimpleTableIdentifier];
      ...
      ...
      NSUInteger row = [indexPath row];
      if(row == 3)
      {
          //Draw bulb in row
          cell.accessoryView = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"bulb-on.png"]];
              //Instead of image, draw toggle-switch here
      }
      else
          cell.accessoryType = UITableViewCellAccessoryDisclosureIndicator;
      cell.textLabel.text = [listData objectAtIndex:row];
      return cell;
  }
  </code></pre>
  
  <p>How can I, instead of that image, draw a usable toggle-switch?</p>