iOS 6, VoIP, and -viewDidLoad
iOS 6, VoIP, and -viewDidLoad
- Subject: iOS 6, VoIP, and -viewDidLoad
- From: Michael Crawford <email@hidden>
- Date: Thu, 20 Jun 2013 12:20:22 -0400
When iOS automatically restarts a VoIP app that has crashed or been removed by the watchdog for some reason, does -viewDidLoad run when the app is automatically restarted?
I ask because when this type of restart occurs, it appears to happen silently, without presenting the restarted app's window in the foreground. Since this condition is kind of difficult to test or duplicate on my device, I though some of you might have experience with this behavior and could tell me what you observed.
I am trying to trigger this behavior by allocating huge amounts of memory on a timer and then leaking it on purpose but so far, instead of getting a memory warning and then subsequently having the app evicted due to memory pressure, malloc simply returns nullptr. I've tried this with allocation units of 100 megabytes and then with 1 megabyte.
-Michael
_______________________________________________
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