title: take text input from uitableviewcell
body: <p>i am developing an application where i need to take text input from user using sectioned table view.
  i had never use table view for taking text input from user.
  please have a look at the image for batter understanding.</p>
  
  <p><img src="https://i.stack.imgur.com/hp3XH.png" alt="enter image description here"></p>
  
  <p>i tried this <a href="https://stackoverflow.com/questions/4123740/in-place-editing-of-text-in-uitableviewcell/">In-place editing of text in UITableViewCell?</a></p>
  
  <p>but this is not full filling what i wanted to.</p>
  
  <p>when i use following code i get output which is not similar to above image.</p>
  
  <pre><code>UITextField *txtField=[[UITextField alloc]initWithFrame:CGRectMake(45, 0, cell.frame.size.width, cell.frame.size.height)];
      txtField.autoresizingMask=UIViewAutoresizingFlexibleHeight;
      txtField.autoresizesSubviews=YES;
      [txtField setBorderStyle:UITextBorderStyleRoundedRect];
      [txtField setPlaceholder:@"Type Data Here"];
  
      if (cell == nil)
      {
          cell.accessoryType = UITableViewCellAccessoryNone;
      }
      [cell addSubview:txtField];
  </code></pre>
  
  <p><img src="https://i.stack.imgur.com/aslwe.png" alt="enter image description here"></p>
  
  <p>see the answer of question 3 and 5.</p>
  
  <p>Thanks.</p>