title: How to get UITableviewcell(custom cell) values on click on button
body: <p>I have a <code>UITableViewCell</code>(Custom cell) in which i am creating some buttons and textfields and assigning tags to the buttons and textfields. But i couldn't get button title and textfield values on click on button.</p>
  
  <p>In <code>cellForRowAtIndexPath</code></p>
  
  <pre><code>`[((CustomCell *) cell).btn setTag:rowTag];
   [((CustomCell *) cell).textField2 setTag:rowTag+1];`
  
  -(IBAction)submitBtnAction:(UIControl *)sender
  {
      for (int i=0; i&lt;[self-&gt;_dataArray count]; i++)
      {
          NSIndexPath *myIP = [NSIndexPath indexPathForRow:i inSection:0];
          NSLog(@"myIP.row %d",myIP.row);
          UITableViewCell *cell = [tblView1 cellForRowAtIndexPath:myIP];
          NSLog(@"tag %d",cell.tag);
          UIButton *btn = (UIButton *)[cell.contentView viewWithTag:i];
          NSLog(@"btn text %@, tag %d",btn.titleLabel.text,btn.tag);
          UITextField *tf = (UITextField *)[cell.contentView viewWithTag:i+1];
          NSLog(@"tf text %@, tag %d",tf.text,btn.tag);
  
      }
  }
  </code></pre>
  
  <p>I'm getting error like this</p>
  
  <pre><code>-[UITableViewCellContentView titleLabel]: unrecognized selector sent to instance 0x71844e0
  2013-07-17 13:48:29.998 Text[1271:c07] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[UITableViewCellContentView titleLabel]: unrecognized selector sent to instance 0x71844e0'
  </code></pre>