It can be seen that, with the apparatus 200 for detecting ambient light intensity provided in embodiments of the present disclosure, the preset region of the display screen is controlled to display the predetermined picture via the control module 201, the ambient light intensity value detected by the ambient light sensor is obtained via the obtaining module 202, and the display screen is controlled to respond according to the ambient light intensity value via the responding module 203. The preset region is the region facing the ambient light sensor in the display screen, and the predetermined picture is the pure color picture. With the apparatus for detecting ambient light intensity provided in embodiments of the present disclosure, the preset region of the display screen is controlled to display the predetermined picture, such that light emitted from the preset region to into the ambient light sensor is reduced. Thus, influence of the display screen on the ambient light sensor may be reduced, and accuracy of the ambient light sensor detection may be improved.
Embodiments of the present disclosure further provide an electronic device. The electronic device may be a smart phone, a tablet computer, or the like. The electronic device may include a display screen and an ambient light sensor. The ambient light sensor may be disposed facing a display region in the display screen. As illustrated in