• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Does an iOS app's UI freeze when going into background?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Does an iOS app's UI freeze when going into background?


  • Subject: Re: Does an iOS app's UI freeze when going into background?
  • From: David Duncan <email@hidden>
  • Date: Wed, 21 Sep 2011 12:34:43 -0700

On Sep 21, 2011, at 11:59 AM, Gavin Stokes wrote:

> When our app gets a notification that it's going into the background, it clears the tableview that serves as its primary UI element.  However, when the app returns to the foreground, it still briefly contains the items that were supposedly cleared.  They remain there for a second after the app resumes, then disappear.  This creates an unpolished and jarring UI.
>
> My guess is that iOS stops drawing the UI as soon as the app starts whizzing away into the background, and likewise doesn't resume drawing it immediately after it returns.  Does anyone know if that's true?  I'm wondering how to prevent this spastic-looking UI.


UIKit takes a snapshot of the view hierarchy as it was when your application goes into the background and uses that when it comes back to the foreground. It remains until your UI has had a chance to redraw itself.
--
David Duncan

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Does an iOS app's UI freeze when going into background?
      • From: G S <email@hidden>
References: 
 >Does an iOS app's UI freeze when going into background? (From: Gavin Stokes <email@hidden>)

  • Prev by Date: Re: Gestalt
  • Next by Date: Re: how to get rid of NSSavePanel's AccessoryView's border
  • Previous by thread: Does an iOS app's UI freeze when going into background?
  • Next by thread: Re: Does an iOS app's UI freeze when going into background?
  • Index(es):
    • Date
    • Thread