• 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: My app only shows a black screen in the recent apps list
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: My app only shows a black screen in the recent apps list


  • Subject: Re: My app only shows a black screen in the recent apps list
  • From: David Duncan <email@hidden>
  • Date: Thu, 22 Dec 2016 12:58:29 -0800

Do you do anything special when going into the background? The snapshot is taken shortly after your application is placed in the background, so if your view hierarchy changes that is what will actually be snapshotted.

> On Dec 22, 2016, at 4:05 AM, Andreas Falkenhahn <email@hidden> wrote:
>
> When opening the recent apps list by pressing the home button twice
> my app only shows a black screen instead of an image of the app's
> look the last time it was closed. How can I fix this?
>
> My app's view hierarchy is Window => ViewController.View => ContentView.
> The graphics are drawn by a platform-independent renderer into a
> pixel buffer which is then converted into CGImage which is then
> set as the content view's layer for every new frame like this:
>
>     contentView.layer.contents = (id) myImage;
>
> This works fine but in the recent apps list my app is always just
> shown as a black screen which is rather ugly. How can I fix this
> please?
>
> --
> Best regards,
> Andreas Falkenhahn                          mailto:email@hidden
>
> _______________________________________________
>
> 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

--
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: My app only shows a black screen in the recent apps list
      • From: Andreas Falkenhahn <email@hidden>
    • Re: My app only shows a black screen in the recent apps list
      • From: Alex Zavatone <email@hidden>
References: 
 >My app only shows a black screen in the recent apps list (From: Andreas Falkenhahn <email@hidden>)

  • Prev by Date: My app only shows a black screen in the recent apps list
  • Next by Date: Re: My app only shows a black screen in the recent apps list
  • Previous by thread: My app only shows a black screen in the recent apps list
  • Next by thread: Re: My app only shows a black screen in the recent apps list
  • Index(es):
    • Date
    • Thread