My app only shows a black screen in the recent apps list
My app only shows a black screen in the recent apps list
- Subject: My app only shows a black screen in the recent apps list
- From: Andreas Falkenhahn <email@hidden>
- Date: Thu, 22 Dec 2016 13:05:06 +0100
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