Hello,
I have a QTCaptureView and Im trying to save the view as a picture. So far I have this:
NSRect rect = [outputView bounds];
NSData *viewData = [outputView dataWithPDFInsideRect:rect];
[viewData writeToFile:@"/test.pdf" atomically:YES];
but for some reason when I save instead of seeing a picture of my vie (iSight Camera) I see a black pdf file.
Thanks for any help