Code in the fourth iPhone 4.0 beta contains references to camera flash, investigation reveals. One section suggests that Apple handhelds will have three different flash modes: always on, always off and auto, triggered by an ambient light sensor. The find backs up recent iPhone prototype leaks, which in both cases have included a LED flash on the back.