iOS 4.3.5 and infinite loop
Sombody got this strange bug ?
1) Create some app and add this code lines at anywhere
..
NSLog(@"app is started");
..
while (true)
{
// do nothing
}
2) Run this app in iPhone iOS 4.3.5 and get infinite loop
3) Press Home, then double click on Home, and Tap on ‘-‘ for kill a app
4) Tap on app for relaunch him after 1 sec, 3 sec, 10 sec, 60 sec or 900 sec.
5) App is not closing, is not crashing, it is running continuously. It can never be closed
What’s wrong ? This is iOS 4.3.5 problem?
And, can i know, what user is trying close a app?
It seems SIGKILL is not getting called
Thanks
It seems to be a bug in iOS 4. In iOS 5 and older it is working fine.