折腾了半天,原来是被Apple给耍了。
相同代码,分别在在iPhone5和iPhone5s上测试,
确实是只有iPhone5支持,iPhone5s是不支持的。
http://stackoverflow.com/questions/22184854/iphone-5s-lowlightboost-seems-not-supported-why
The iPhone 5S simply does not support low light boost mode. I'd guess that with the improvements made to the camera/sensor on the 5S, that Apple decided the low light boost mode was not necessary on that device.
http://stackoverflow.com/questions/22487518/avcapturedevices-islowlightboostsupported-always-returns-false-on-5s-ios7-1-fo/22562076#22562076
From what I understand the 5S does not support low light boost mode. I don't have any insight into Apple's decision on this, but I'm guessing the improvements made to the camera/sensor on the 5S were good enough that they felt low light boost was not needed on that device.
So, what you're seeing is not an error. It's simply that some devices support that feature (the iPhone 5), and some do not (the iPhone 5S).
I'd post a list of compatible devices, but I don't have newer iPod Touches and some iPads to be able to test it. I'd guess the iPhone 5c does support it since that device is basically a reskinned iPhone 5, but again I don't have one to test.