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

2016-12-30 Thread Carl Hoefs
> On Dec 30, 2016, at 4:00 PM, Quincey Morris > wrote: > > On Dec 30, 2016, at 13:58 , Carl Hoefs > wrote: >> >> UIApplicationExitsOnSuspend is useful for multi-user professional

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

2016-12-30 Thread Andreas Falkenhahn
On 31.12.2016 at 00:00 Quincey Morris wrote: > On Dec 30, 2016, at 13:58 , Carl Hoefs > wrote: >> UIApplicationExitsOnSuspend is useful for multi-user professional apps (such >> as medical apps associated with hardware). Otherwise there is the potential >> of a

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

2016-12-30 Thread Quincey Morris
On Dec 30, 2016, at 13:58 , Carl Hoefs wrote: > > UIApplicationExitsOnSuspend is useful for multi-user professional apps (such > as medical apps associated with hardware). Otherwise there is the potential > of a different user reactivating the app without having

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

2016-12-30 Thread Carl Hoefs
> On Dec 30, 2016, at 12:34 PM, David Duncan wrote: > > Honestly, just remove UIApplicationExistsOnSuspend. Its simply not a behavior > that is expected of modern iOS applications. True in general, but UIApplicationExitsOnSuspend is useful for multi-user professional

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

2016-12-30 Thread David Duncan
> On Dec 27, 2016, at 3:52 AM, Andreas Falkenhahn > wrote: > > On 25.12.2016 at 16:57 David Duncan wrote: > >>> On Dec 23, 2016, at 9:05 AM, Andreas Falkenhahn >>> wrote: > >>> Further examinations have shown that the issue might be related

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

2016-12-27 Thread Andreas Falkenhahn
On 25.12.2016 at 16:57 David Duncan wrote: >> On Dec 23, 2016, at 9:05 AM, Andreas Falkenhahn >> wrote: >> Further examinations have shown that the issue might be related to the >> fact that my app has the "UIApplicationExitsOnSuspend" flag set to YES. >> When removing

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

2016-12-25 Thread David Duncan
> On Dec 23, 2016, at 9:05 AM, Andreas Falkenhahn > wrote: > > Further examinations have shown that the issue might be related to the > fact that my app has the "UIApplicationExitsOnSuspend" flag set to YES. > When removing this flag, it seems to work correctly. When

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

2016-12-23 Thread Andreas Falkenhahn
On 23.12.2016 at 15:01 Alex Zavatone wrote: > Andreas, I've seen very interesting behaviour on iOS it you have > not supplied a launch image or if you have not supplied one that has > the screen dimensions that your device needs natively. It appears > to fall back to check if a launch image of a

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

2016-12-23 Thread Andreas Falkenhahn
Further examinations have shown that the issue might be related to the fact that my app has the "UIApplicationExitsOnSuspend" flag set to YES. When removing this flag, it seems to work correctly. When activating it again, however, iOS shows the image from the last run of the app with

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

2016-12-23 Thread Alex Zavatone
Andreas, I've seen very interesting behaviour on iOS it you have not supplied a launch image or if you have not supplied one that has the screen dimensions that your device needs natively. It appears to fall back to check if a launch image of a smaller size is available and then the resolution

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

2016-12-23 Thread Andreas Falkenhahn
On 22.12.2016 at 21:58 David Duncan wrote: > 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. No, I'm actually not doing

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

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 >

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