I recently discovered this: http://openradar.appspot.com/15880263
Correct me if I'm wrong, but those lines allows a Developer to spy the user without the user even noticing, right?
AVCaptureDevice *frontDevice = nil;
for (AVCaptureDevice *device in [AVCaptureDevice devices]) {
if (device.position == AVCaptureDevicePositionFront) {
frontDevice = device;
}
}
AVCaptureDeviceInput *input = [AVCaptureDeviceInput deviceInputWithDevice:frontDevice error:nil];
AVCaptureMovieFileOutput *output = [[AVCaptureMovieFileOutput alloc] init];
session = [[AVCaptureSession alloc] init];
[session beginConfiguration];
[session addInput:input];
[session addOutput:output];
[session commitConfiguration];
[session startRunning];
// Wait X seconds
NSString *path = [DOCUMENTS_DIRECTORY stringByAppendingPathComponent:@"output.mov"];
NSURL *url = [NSURL fileURLWithPath:path];
[output startRecordingToOutputFileURL:url recordingDelegate:self];
and boom, I could send that output.mov to my own server, for example. This is terrible, unless I'm missing something.......
CoreLocation(GPS). No, for Video, that's the problem, iOS doesn't ask anything to the user. – StuFF mc Jan 23 '14 at 13:31