title: iOS - "UIViewController from storyboard "Main", but didn't get a UITableView
body: <p>I have an UIViewController which has UITableView in it. Everything works fine. In "didSelectRowAtIndexPath" methos I want to activate a "show" segue to UIViewController. I set it in Storyboard, created its ViewController class etc. </p>
  
  <p>When I choose the cell, I get an error saying:</p>
  
  <blockquote>
    <p>*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: '-[UITableViewController
    loadView] instantiated view controller with identifier
    "UIViewController-ndM-tm-7SM" from storyboard "Main", but didn't get a
    UITableView.'</p>
  </blockquote>
  
  <p>Interestingly, I found that although I put a ViewController to the storyboard, it's changing to Table View Controller by itself. It's picture:</p>
  
  <p><a href="https://i.stack.imgur.com/sX9I6.png" rel="nofollow"><img src="https://i.stack.imgur.com/sX9I6.png" alt="enter image description here"></a></p>
  
  <p>Tis is not initial situation, at first i checked the same place and there were only ViewController. Probably this is the problem. </p>
  
  <p>I looked the same question asked before but they are different. My root view controller is not table view controller, it's view controller including table view. </p>
  
  <p>Anyway, what should i do to handle this? I use prepareForSegue method either and it seems that there's nothing wrong about it. </p>
  
  <p>Thanks!</p>