Yeah, I just tried rebooting the device and while I'm running the app on the 
device through Xcode, the app definitely quits when the Personal Hotspot is 
toggled on or off, as Xcode states "No Debug Session".

There is no message thrown in the console and the applicationWillTerminate: 
method isn't called at all.

Finally, the debugger pulled up that a SIGSTOP is being sent.  

Sometimes, the app is just quit and not relaunched.

I've just tested this with other apps and this appears to be an Xcode issue.

This only happens when running an app on the device in a debug session in Xcode 
and the network configuration changes, such as turning on or off the Personal 
Hotspot.

Hope this info will help someone else out.

Cheers,
- Alex Zavatone

On Jun 19, 2014, at 10:25 AM, Alex Kac wrote:

> Recently I hit the same issue. It was working just fine one day, and then the 
> next - every app from Mail to Safari to 3rd party apps - all were losing 
> their UI state when I’d switch between them. On an iPhone 5s. Reboot fixed it 
> for now.
> 
> On Jun 19, 2014, at 5:19 AM, Jonathan Hull <jh...@gbis.com> wrote:
> 
>> My guess would be that Jens is correct.  Your app is likely being killed by 
>> the system while it is in the background. I tend to run a lot of apps at 
>> once and switch between them often, so I run into this all the time.  
>> 
>> When your app is backgrounded, you should save your UI state and restore it 
>> when you get relaunched.  It will appear to the user as if the app was 
>> running the whole time.
>> 
>> Thanks,
>> Jon
>> 
> 
> Alex Kac - President and Founder
> Web Information Solutions, Inc.
> 
> 
> 
> 


_______________________________________________

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