Top "Avcapturedevice" questions

AVCaptureDevice represents a physical capture device and the properties associated with that device.

Turn on torch/flash on iPhone

I know that the only way to turn on the flash and keep it on on iPhone 4 is by turning …

ios iphone avcapturesession avcapturedevice
Why AVCaptureSession output a wrong orientation?

So, I followed Apple's instructions to capture video session using AVCaptureSession: http://developer.apple.com/iphone/library/qa/qa2010/qa1702.…

iphone avcapturesession avcapturedevice
How to get front camera, back camera and audio with AVCaptureDeviceDiscoverySession

Before iOS 10 came out I was using the following code to get the video and audio capture for my video …

ios swift avfoundation avcapturedevice
Get Camera Preview to AVCaptureVideoPreviewLayer

I was trying to get the camera input to show on a preview layer view. self.cameraPreviewView is tied to …

ios avfoundation avcapturesession avcapturedevice
Accessing iOS 6 new APIs for camera exposure and shutter speed

On Apple's iOS 6.0 feature page, it used to say Take advantage of the built-in camera’s advanced features. New APIs …

iphone ios camera avcapturedevice
AVCaptureSession Record Video With Audio

I have my app set up to record video from the camera using an AVCaptureSession, however, there is no audio …

ios objective-c audio-recording avcapturesession avcapturedevice
Why does AVCaptureVideoOrientation landscape modes result in upside down still images?

I am using AVFoundation classes to implement a custom camera in my app. I am only capturing still images, not …

iphone ios avcapturesession image-capture avcapturedevice
iOS 5 - AVCaptureDevice setting focus point and focus mode freezes the live camera picture

I'm using the following method to set point of focus since iOS 4: - (void) focusAtPoint:(CGPoint)point { AVCaptureDevice *device = [[self …

ios ios5 avcapturedevice avcapture
Type 'AVCaptureDevice' has no member 'defaultDevice'

Working on a QR code reader. I am new to programming so this might be an easy fix. The error …

swift avcapturedevice
AVCaptureVideoPreviewLayer (camera preview) freezes/stuck after moving to background and back

Cant figure this one out. Everything works fine when the app is active, and than sometimes when i move the …

ios camera preview avcapturesession avcapturedevice