Detecting One Keystroke at a Time

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

  1. macrumors newbie

    Joined:
    Aug 29, 2005
    #1
    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. Moderator emeritus

    kainjow

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

Share This Page