Apple Event: May 7th at 7 am PT

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Camera never activates LowLightBoost on iPhone 5

I have the following code:


// Create the capture device

camera = [CameraManager cameraWithPosition:AVCaptureDevicePositionBack];

if (camera.lowLightBoostSupported) {

if ([camera lockForConfiguration:nil]) {

camera.automaticallyEnablesLowLightBoostWhenAvailable = YES;

[camera unlockForConfiguration];

}

}


But the lowLightBoost never activates, even if I put the device with the backside on the table so the preview image is pitch black.


- (void)captureOutput:(AVCaptureOutput *)captureOutput

didOutputSampleBuffer:(CMSampleBufferRef)sampleBuffer

fromConnection:(AVCaptureConnection *)connection

{

NSLog(@"LowLight active: %@ Camera lowlightWhenAvailable: %@",camera.isLowLightBoostEnabled ? @"true": @"false",camera.automaticallyEnablesLowLightBoostWhenAvailable ? @"true": @"false");


gives me


2013-10-25 10:21:53.179 aCoDriver[1019:668f] LowLight active: false Camera lowlightWhenAvailable: true

2013-10-25 10:21:53.429 aCoDriver[1019:668f] LowLight active: false Camera lowlightWhenAvailable: true

2013-10-25 10:21:53.679 aCoDriver[1019:668f] LowLight active: false Camera lowlightWhenAvailable: true

2013-10-25 10:21:53.929 aCoDriver[1019:668f] LowLight active: false Camera lowlightWhenAvailable: true

iPhone 5, iOS 7.0.3

Posted on Oct 25, 2013 2:28 AM

Reply
1 reply

Oct 26, 2013 2:35 AM in response to tmanthey

I checked another app and there it definately gets activated. I even have the code snippet and with the exact same code it does not activate the low light boost.

So definately the low light boost has some undocumented dependencies.


@Apple please provide the dependecies that are required for succesful activation of low light boost

Camera never activates LowLightBoost on iPhone 5

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.