Possible Duplicate:
How does the iOS app Display Recorder record the screen without using private API?
i had done screen recording for my iphone application,its working perfect.it is recording screen within the application,but i need to record any other screens in the iphone with this app,When i Touch the start recording app button ,it need to exit from the app and app must run in background to record the screen.
-(IBAction)onStartRecording:(id)sender {
[((ScreenCaptureView*)self.view) startRecording];
}
-(IBAction)onStopRecording:(id)sender {
[((ScreenCaptureView*)self.view) stopRecording];
}
i Created a class ScreenCaptureView and implement the coding to record the screen there..how it be possible to run this app and record the screen?.
Thanks in Advance.