title: ios - I want to add View with CellFrame
body: <p>I add view in TableViewCell like this.</p>
  
  <pre><code>-(UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath
  {
    UITableViewCell * cell = [[UITableViewCell alloc]init];
    UIView * view = [[UIView alloc] initWithFrame:cell.frame];
    view.backgroundColor = [UIColor redColor];
    [cell addSubview: view];
  
  }
  </code></pre>
  
  <p>I would like to add View with Cell Frame</p>
  
  <p>but result is
  <img src="https://i.stack.imgur.com/7grlz.png" alt="enter image description here">
  How do I do?</p>