Background processing works in the Simulator, but not on a real device

I am creating an iOS8 app that records audio. The app allows users to set up a daily recording schedule (i.e. start time and duration). This works great in the simulator. For example, suppose the schedule is to start recording at 11pm within 8 hours. I launched the app at 10:30 pm and pressed the Home button to simulate a background process. The app will start recording at 11 pm and will record for 8 hours. However, after deploying the app to iPad 2 (as part of pre-testing), the above procedure does not result in recording. However, if I leave the app, it starts recording. But as soon as I press the Home button, it will stop recording. It looks like background processing is not working on a real device.

Is there some configuration I need to set on a real device for this?

+3
background ios8 device


source to share


No one has answered this question yet

Check out similar questions:

815
Stretch and scale CSS image in background - CSS only
1
How to record screen when app is in Background ios 8.4 (Swift)
1
iphone ios8 - play audio in iOS8 background
1
setBackgroundImage works on simulator but real device (IOS5.1.1)
0
Background fetch does not work on physical device
0
Play audio in the background
0
Background image in the simulator but not in the app from the play store
0
Updates device movement in the background
0
Why is audio recording in the background not working on iOS?
0
The app is finished immediately after entering it in the background (iOS 5 REAL device)



All Articles
Loading...
X
Show
Funny
Dev
Pics