Method and device for controlling rotation of camera in mobile terminal and mobile terminal

Embodiments of the invention disclose a method and a device for controlling the rotation of a camera in a mobile terminal and a mobile terminal. The method comprises the following steps: when the mobile terminal is in a photographing state, detecting a current gesture of a user within a preset spatial range by an ultrasonic sensor on the mobile terminal; and controlling a rotating body used for driving the camera to rotate in the mobile terminal to rotate according to the current gesture. By adopting the method and the device in the technical scheme disclosed by the embodiments of the invention, the user does not need to generate physical contact with the mobile terminal and can control the rotation of the camera in the mobile terminal only via a gesture, so that the user obtain brand new use experience. In addition, the user operation is more convenient and flexible, the shading opportunity of fingers and other parts of the user on the camera or a display careen is reduced, a complete image preview picture can be seen when adjusting the rotation angle of the camera, and the camera is convenient to be adjusted to an expected position of the user.