iPhone SDK: Successive Touches?

Discussion in 'Mac Programming' started by warstrekkid, Jun 12, 2008.

  1. warstrekkid macrumors newbie

    Jun 29, 2007
    So I'm working on an iPhone app where I need it to deal with successive touches. In other words, one finger goes down, is held on the screen, and another finger goes down somewhere else. Unfortunately, I'm having difficulty with touchesBegan even recognizing the second finger going down. Right now, it recognizes multi-touch if they go down together. Does anyone know if successive touches are recognized (and I'm doing it wrong), or will I have to scrap this plan?
  2. darkpaw macrumors 6502


    Sep 13, 2007
    London, England
    It's not a solution, but you can check to see if the second touch is recognised with something like:
    NSUInteger numTaps = [[touches anyObject] tapCount];
    if(numTaps >= 2) {

Share This Page