PDA

View Full Version : Detecting One Keystroke at a Time




parkov
Aug 28, 2008, 10:15 AM
What's the best way to detect one keystroke at a time on the iPhone? Should something like the UITextField ValueChanged event be used or is there a way to intercept each key press directly?



kainjow
Aug 28, 2008, 12:17 PM
Probably the delegate method textField:shouldChangeCharactersInRange:replacementString: