textFieldDidBeginEditing: for more than one textfield
I am fairly new to iphone programming and here I am facing some issues. Now in my application, I have two textfields and I want to fire an event while second textfield starts editing. now I am using following function - (void)textFieldDidBeginEditing:(UITextField *)textField but the thing is the event is being fired when the first textfield starts editing. It does not wait for the second text field. Is there any way I can use this function for the second textfield or may be somehow could know and pass it the value of the active textfield? I tried writing the name of the textfield instead of