摘要 |
A proximity sensor may be mounted below a display cover layer in an electronic device. The proximity sensor may have a light source that emits light and a detector configured to detect reflections of the emitted light from nearby external objects. Optical structures may be interposed between the proximity sensor and the window in the display cover layer. The optical structures may include a first portion such as a convex lens that is configured to collimate light from the light source so that the light propagates along a surface normal to the display cover layer. The optical structures may also include a second portion such as a prism structure for deflecting uncollimated light away from the propagation axis of the collimated light. |