Hi I have find a way to switch on and off the led flashlight of iphone 4 and also to have a strobe effect but I am trying to keep it lit when the app goes to background and I cant. Is there any way to do this?
Share
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.
As far as know you cant do this. When the app goes to the background, apple allows only limited amount to resources to your app & allows your app limited freedom.
For example, you can play audio when your app is in background. You can have network access (for any downloads etc.) when your app is in background. So don’t think its possible to keep LED lit when the app goes to background.
Correct me if i am wrong or would love to know how you eventually solved this problem..