- Home /
iPhone resume after pressing home button
Is there any way to set game time scale to 0 when home button is pressed and showing a resume screen when application is called back from background?
In documentation there is a sentences about Application.CancelQuit : "IMPORTANT: This function has no effect on iPhone. Application can not prevent termination under iPhone OS".
Is there any way?
Answer by Eric5h5 · Apr 11, 2011 at 11:25 PM
Use OnApplicationPause. You don't really quit apps on iOS; the OS quits them when needed (unless you use exit on suspend, but generally you shouldn't).
Your answer
Follow this Question
Related Questions
iPhone app stuck after multitasking 0 Answers
iPhone game keep progress after app update 1 Answer
How do I use deserialize XML with Unity Pro iPhone. 4 Answers
Load from XML on iPhone 1 Answer
Drawing on Textures on the iPhone (larger than 200) 3 Answers