Curious to see how this will be done on iOS - last I checked there was no way of running apps in the background.
There is no background support for recording, and Apple requires you to have a "conspicuous" recording indicator. I was initially rejected by displaying a black screen during recording.
P.s. to whoever voted me down, a response that I wasn't correct would have added to this discussion!
Here's a link to the pdf (you might need a developer account to access): http://developer.apple.com/library/ios/documentation/iphone/...
If you can't or don't want to access the pdf, here's a link to a SO answer I gave on the subject: http://stackoverflow.com/a/9738707/239074