I have this code which assumes that an AV decide is connected...
AVCaptureDeviceInput *device_input = [[AVCaptureDeviceInput alloc] initWithDevice :
[AVCaptureDevice devicesWithMediaType : AVMediaTypeVideo][0] error : nil];
How can I modify that code so that I get a message like this...
if (No AV devices were detected)
NSLog(@"No AV devices were detected");
else
NSLog(@"The following devices were detected...");
Thanks, Len.