title: Add subview to selected tableview cell
body: <p>I have this code as following. I am trying to add a subview with background color red to my selected tableView cell. But I am facing two bugs: </p>
  
  <p>1: The height of the tableView Cell is 44, but when I set my subView's height to be 44, it seems to be half of the cell height. I can only make the two views equal when the subView frame height is set to be 88. </p>
  
  <p>2: The subView only shows up when I tab it twice. If I tab it for only once, The sub View doesn't show up. </p>
  
  <p>BTW: I have two tableViews in one viewController, so please look at the tableView inside of "else".  </p>
  
  <p><a href="https://i.stack.imgur.com/5516W.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/5516W.png" alt="enter image description here"></a></p>