Trying to get index of active cell from textField inside custom cell of UITableView in iOS
问题 I have a UITableView in my application where I have custom UITableViewCell which contains a UITextField . What I would like to do is get the correct index of the row when I select a particular textfield from that row. Unfortunately, I am only able to get the correct index of the row if I actually click on the row, and not when I select the textfield itself. I am implementing the <UITextFieldDelegate> , and when I select a particular UITextField , I call the method: - (BOOL