ios4 - iPhone 4 App continues to run in background with debugger -
on iphone multitasking , ios4.1, if have debugger connected noticed code still being run in background, breakpoints still hit, timers running. without of background modes set.
is case having debugger connected prevents app being suspended?
an app can continue running short period of time after it's been suspended. should use uiapplicationdelegate
methods check what's going on.
here's quote:
applicationdidenterbackground:
implementation of method has approximately 5 seconds perform tasks , return. if need additional time perform final tasks, can request additional execution time system.
Comments
Post a Comment