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

2016-12-22 Thread David Duncan
Inline -- David Duncan @ My iPhone > On Dec 22, 2016, at 4:49 PM, Alex Zavatone wrote: > > In that case, would it make sense when the app will enter background, to take > a snapshot of the main window, then put that image layer over your main > window so that you can guarantee that the image

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

2016-12-22 Thread Alex Zavatone
In that case, would it make sense when the app will enter background, to take a snapshot of the main window, then put that image layer over your main window so that you can guarantee that the image you desire is what the OS will take a snapshot of? I like this approach because it is very easy

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

2016-12-22 Thread David Duncan
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 > wrote: > > When opening

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

2016-12-22 Thread Andreas Falkenhahn
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-