title: Table view row height doesn't work in iOS
body: <p>I would like to change dynamically the height of the selected row.</p>
  
  <p>The documentation says <code>heightForRowAtIndexPath:</code> is the best way to do so.</p>
  
  <p>I got here so far. The tap is detected but the row height doesn't change: </p>
  
  <pre><code>override func tableView(_ tableView: UITableView, didSelectRowAt indexPath: IndexPath) {
      func tableView(tableView: UITableView, heightForRowAt: IndexPath) -&gt; CGFloat {
          return 490.0
      }
  // print("helloworld")
  }
  </code></pre>