How could I get the property name of the current UITextField a user is in as a string?
问题 I am using the following method: - (BOOL)textField:(UITextField *)textField shouldChangeCharactersInRange:(NSRange)range replacementString:(NSString *)string Before, in order to find the current text field I was in, I was able to write something like this: if (textField == self.textPlaceID) { //Do something } Is there a way to grab the name of my textField as a string? I am not asking to take what the user has typed in that textField , I'd like to be able to just get the property name of if.