title: when editButtonItem clicked, no red delete icon shows
body: <p>I am writing an IPhone IM chat window now.</p>
  <p>You know if the nagviationItem.rightBarItem in an UITableviewController is set to editButtonItem, you click the edit button then a red delete icon is shown to every single row,  <a href="http://www.flickr.com/photos/45412920@N03/4289764318/" rel="noreferrer">like shown here</a>.</p>
  <p>The problem is, I have a UIViewController instead of a UITableViewController:</p>
  <pre><code>@interface ChatUIViewController : UIViewController&lt;UITableViewDelegate,UITableViewDataSource&gt;{
      UITableView *table;
      UITextField *textField;
  </code></pre>
  <p>}</p>
  <p>and i did same to set editButtonItem:</p>
  <pre><code>- (void)viewDidLoad {
      [super viewDidLoad];
      self.navigationItem.rightBarButtonItem = self.editButtonItem;
  </code></pre>
  <p>}</p>
  <p>when i click the edit button, the <a href="http://www.flickr.com/photos/45412920@N03/4289764364/" rel="noreferrer">red delete icon will not show</a>.</p>
  <p>How can I make the red delete icon shown in my ChatUIViewController?</p>
  <p>Thanks in advance to anyone who might help.
  Michael</p>