Touches work in simulator, not on phone

Discussion in 'iOS Programming' started by Benzido, Aug 18, 2008.

  1. Benzido macrumors newbie

    Joined:
    Aug 18, 2008
    #1
    I copied the code from 'Touches.app' to my own app, and the interface is also nearly mirrored, but I can't get it to register touch input on the actual phone. The only difference in the program is that I am trying to register multiple touches in one UIView, rather than in separate ImageViews as per 'Touches.app'.

    * 'Touches.app' works fine in both the simulator and on the device.


    * The app runs fine on the device, except it doesn't accept touch input.


    * I checked all the frameworks I loaded are the same on both simulator and phone.


    Is there some difference between the simulator and the actual device which could be causing this?
     
  2. Benzido thread starter macrumors newbie

    Joined:
    Aug 18, 2008
    #2
    Nevermind, I finally figured it out. The app was performing much slower on the actual phone, and the loop wasn't giving it time to perform the checks for touch events.

    If anyone has any tips on how to speed up Quartz2D rendering performance, I'd appreciate it!
     

Share This Page