uitextfield - Detect edit event on a textField view in iOS -
i have cell array not in cell collection or uitable. how detect edit event on 1 of cells?
first of all, set tags textfields. can recognise current textfield.
[textfield settag:101];
set delegate each textfield.
[textfield setdelegate:self];
and @ last use uitextfield delegate textfielddidbeginediting detecting "edit"
- (void)textfielddidbeginediting:(uitextfield *)textfield{ if(textfield.tag == 101){ //do } }
Comments
Post a Comment