AVCaptureTorchModeAuto doesn't do anything when capturing barcodes

Originator:robotspacer
Number:rdar://15138815 Date Originated:02-Oct-2013 10:46 PM
Status:Open Resolved:
Product:iOS SDK Product Version:7.0 through 7.1
Classification:Enhancement Reproducible:Always
 
Summary:
When capturing a poorly lit barcode it's often very helpful to have the torch illuminate the area. Unfortunately the best way to do this, using AVCaptureTorchModeAuto, does not work.

Steps to Reproduce:
1. Create a project using the new iOS 7 barcode scanner
2. Call [device setTorchMode:AVCaptureTorchModeAuto]
3. Start capturing barcodes

Expected Results:
In a poorly lit area the torch/flash should light up automatically.

Actual Results:
The torch stays off. From what I can tell only capturing video triggers the "auto" mode correctly, which shouldn't be necessary. AVCaptureTorchModeOn does work correctly, but that either wastes power or requires the user to manually turn it on/off.

Notes:
N/A

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!