摘要 |
According to a variety of embodiments of the present invention, an electronic device comprises: a camera module; a lens module detachably attached to the camera module; a sensor module for sensing the lens module; and a processor for operating first and second operating systems. The processor can selectively activate the first and second operating systems based on sensing information of the sensor module. The processor can be applied to another embodiment. Therefore, the electronic device can efficiently switch an operating system by recognizing whether a lens is mounted. |