I have an app using the camera. But each time the app has run in the background and you return the camera picture is gone.
Is there a trick i can make the app start over from the top each time it starts running in the foreground again?
Thank you
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can add the key
UIApplicationExitsOnSuspendto the Info.plist file and set it’s value toYES. The key is also known as “Application Does Not Run In Background” if you have the friendly key names enabled for Info.plist.This will make your app behave as apps used to before iOS 4 where they did not suspend or multitask.