A method for switching photo shooting interface, the method being applied to a terminal with a front camera and a rear camera being respectively arranged on a front surface and a rear surface of a slide rear cover, and the method comprising: displaying (301, 701) a first user interface that enables a shooting program to shoot a photo using the rear camera on the terminal; acquiring a first cover slide event indicating that the slide rear cover is slid out; and controlling (303, 706), based on the first cover slide event, the shooting program to switch the first user interface to a second user interface that enables the shooting program to shoot a photo using the front camera; characterized in that, the controlling (303, 706) the shooting program to switch the first user interface to a second user interface that enables the shooting program to shoots a photo using the front camera comprises: acquiring configuration information corresponding to a switching button control in the shooting program from a configuration file defined in the operating system of the terminal, the switching button control being a control for switching the front camera and the rear camera; generating, based on the configuration information of the switching button control, a first simulation event for simulating trigger of the switching button control on the first user interface of the shooting program; and sending the first simulation event to the shooting program, the first simulation event being used for triggering the shooting program to switch the first user interface to the second user interface. displaying (301, 701) a first user interface that enables a shooting program to shoot a photo using the rear camera on the terminal; acquiring a first cover slide event indicating that the slide rear cover is slid out; and controlling (303, 706), based on the first cover slide event, the shooting program to switch the first user interface to a second user interface that enables the shooting program to shoot a photo using the front camera; characterized in that, the controlling (303, 706) the shooting program to switch the first user interface to a second user interface that enables the shooting program to shoots a photo using the front camera comprises: acquiring configuration information corresponding to a switching button control in the shooting program from a configuration file defined in the operating system of the terminal, the switching button control being a control for switching the front camera and the rear camera; generating, based on the configuration information of the switching button control, a first simulation event for simulating trigger of the switching button control on the first user interface of the shooting program; and sending the first simulation event to the shooting program, the first simulation event being used for triggering the shooting program to switch the first user interface to the second user interface. acquiring configuration information corresponding to a switching button control in the shooting program from a configuration file defined in the operating system of the terminal, the switching button control being a control for switching the front camera and the rear camera; generating, based on the configuration information of the switching button control, a first simulation event for simulating trigger of the switching button control on the first user interface of the shooting program; and sending the first simulation event to the shooting program, the first simulation event being used for triggering the shooting program to switch the first user interface to the second user interface.