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:andr...@falkenhahn.com

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to