title: How to set editing button on UITableView that is a subview on iOS
body: <p>I have a UIViewController which has a UITableView as a child besides other elements. I want to add editing support on that tableView with this simple line:</p>
  
  <pre><code>self.navigationItem.rightBarButtonItem = self.editButtonItem;
  </code></pre>
  
  <p>It works if I set this on UITableViewController view type, but obviously that does not work on tableView's that are subviews. Actually it shows the editing button but the edit action is not triggered.</p>
  
  <p>Anyway if there is no elegant solution for that I will simply implement custom editing button.</p>
  
  <p>Thanks!</p>