Has anyone been able to get the iPhone 5’s new low light boost mode to work in their custom camera app? I tried the following code, but noticed no difference – whereas the native camera app significantly boosted the brightness.
if ([[captureManager backFacingCamera] isLowLightBoostEnabled]) {
[[captureManager backFacingCamera] automaticallyEnablesLowLightBoostWhenAvailable];
}
You need to
lockForConfiguration, according to the docs (well, the header file):Also,
isLowLightBoostEnabledtells you whether or not the low light is actually being boosted, not whether it can be. That’s theisLowLightBoostSupportedselector, as above (to which only iOS 6 devices respond).