Method for operating for camera an electronic device thereof

The present invention relates to a method for operating a camera and an electronic device therefor. The method for operating a camera of an electronic device comprises the steps of: operating a first camera and a second camera; determining whether the second camera is screened; and displaying an image obtained by the first camera on a preview screen when the second camera is in a screened state. Even if a user does not perform a process of controlling a complicated menu provided from a camera application, the electronic device can operate the camera corresponding to photographing intention of a user.