Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6966121
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T16:09:02+00:00 2026-05-27T16:09:02+00:00

What might cause an App to stop responding correctly to interface events? One problem

  • 0

What might cause an App to stop responding correctly to interface events? One problem that I’m facing is that my app stops doing all kinds of animations, for instance, the keyboard doesn’t animate, it just appears in the screen. The rotation of the device is not animated, it just rotates without animation. UIAlertView shows and dismisses without animation.

I’m developing a high performance app that creates and deallocs several objects per sec. I try to use as little memory as possible. This problem I’m describing is not preceded a by memory warning and I’m not catching any exceptions (I log all of them).

If anyone can give me any advice, I’d really appreciate it.

Obs.: There is another thing i’m curious: in my app, when i have this problem, the uiview animations stop happening. But CALayer animations are executed normally. Is there a explanation for that?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T16:09:03+00:00Added an answer on May 27, 2026 at 4:09 pm

    It sounds as if you’re doing some operation that is blocking the main thread. All UI is done on the main thread, so if you’re also doing some long calculation on there, this will cause the UI to stop responding. Are you doing synchronous url requests? Again, this will block the main thread.

    You should move as much non-UI code to a background thread as possible… do this using either GCD or NSOperations

    Take a look at Apple’s Concurrency Programming Guide.

    Apple’s take on NSThreads…

    *…moving away from threads may not be possible in all cases, performance (and the simplicity of your code) can improve dramatically in places where you do make the switch. Specifically, using dispatch queues and operation queues instead of threads has several advantages:

    • It reduces the memory penalty your application pays for storing thread stacks in the application’s memory space.
    • It eliminates the code needed to create and configure your threads.
    • It eliminates the code needed to manage and schedule work on threads.
    • It simplifies the code you have to write.

    Also, see this question on NSThread vs NSOperationQueue.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

After understanding (quote), I'm curious as to how one might cause the statement to
What might cause a normal external script on my app to show up sometimes
What kind of problems might this cause? Is it better to install in a
What might be the possible cause of the following? I am using an autocomplete
I might be stupid and you need to excuse me in that case...but I
You might have a set of properties that is used on the developer machine,
I'm working on a media streaming app, and noticing some odd behavior. Media stops
I have an mobile app that reads a JSON file that is stored on
I know what code is needed to cause my iOS app to open a
I have a Windows Form app that creates a window and monitors for entries

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.