Detecting One Keystroke at a Time

Discussion in 'iOS Programming' started by parkov, Aug 28, 2008.

  1. parkov macrumors newbie

    Aug 29, 2005
    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?
  2. kainjow Moderator emeritus


    Jun 15, 2000
    Probably the delegate method textField:shouldChangeCharactersInRange:replacementString:

Share This Page