ios - UITextField difference between keystroke and copy/paste -
how can find out whether user has typed letter in uitextfield or copied source , pasted in uitextfield?
you can sub class uitextfield , override paste
method. whenever paste in textfield method triggered
-(void)paste:(id)sender{ [super paste:sender]; //set flag know text pasted }
Comments
Post a Comment