Non-responsive UI

Discussion in 'iOS Programming' started by Simmons, May 3, 2010.

  1. Simmons macrumors newbie

    Joined:
    Dec 28, 2009
    #1
    I am working through an example in Beginning iPhone 3 Development and for some reason, nothing is happening when I press the buttons or slide the slider. It isn't that the slider is sliding, for example, but not doing anything. It just won't move. It is almost like the entire app is frozen. There are 2 text fields, and when you click them, nothing happens either. No keyboard popping up and whatnot, just nothing. I don't know why this is happening and I would be very grateful is you could tell me why.
     
  2. Avizzv92 macrumors regular

    Joined:
    Mar 23, 2008
    #2
    Are you using the simulator or an actual device? Also are you getting any errors in the debugger?
     
  3. Simmons thread starter macrumors newbie

    Joined:
    Dec 28, 2009
    #3
    Just the good ole' simulator. I am using the free version of the SDK. And there are not any errors or warnings.
     
  4. kaydell.leavitt macrumors regular

    Joined:
    Apr 19, 2010
    #4
    Just An Idea

    Try stress-testing the app by attaching the leak detector. I'm not saying that you have a memory leak, I'm saying that when you test for leaks, it stresses the software and makes it more likely to fail with a crash.

    Before trying that though, why don't you step through your program and try to narrow it down and get an idea of which line of code is failing.
     

Share This Page