An application sharing method, performed by a first electronic device, characterized in that the method comprises: in a case that a first application runs in a foreground of the first electronic device, receiving (101, 201) a first operation; in response to the first operation, in a case that a first electronic device is connected to a target electronic device, displaying a running interface of the first application in a virtual screen in a background of the first electronic device; and sharing (103, 203) the running interface of the first application displayed in the virtual screen with the target electronic device, wherein the step: in a case that the first application runs in the foreground, receiving a first operation comprises: in a case that the first application runs in the foreground, receiving a second operation for the first electronic device; in response to the second operation, displaying a control window, wherein the control window comprises an application sharing control; detecting whether the first application supports sharing; in a case that the first application is detected to support sharing, updating a name of the application sharing control based on a name of the first application, wherein the updated name of the application sharing control is displayed in the control window; and receiving a third operation for the updated application sharing control. in a case that a first application runs in a foreground of the first electronic device, receiving (101, 201) a first operation; in response to the first operation, in a case that a first electronic device is connected to a target electronic device, displaying a running interface of the first application in a virtual screen in a background of the first electronic device; and sharing (103, 203) the running interface of the first application displayed in the virtual screen with the target electronic device, wherein the step: in a case that the first application runs in the foreground, receiving a first operation comprises: in a case that the first application runs in the foreground, receiving a second operation for the first electronic device; in response to the second operation, displaying a control window, wherein the control window comprises an application sharing control; detecting whether the first application supports sharing; in a case that the first application is detected to support sharing, updating a name of the application sharing control based on a name of the first application, wherein the updated name of the application sharing control is displayed in the control window; and receiving a third operation for the updated application sharing control. in a case that the first application runs in the foreground, receiving a second operation for the first electronic device; in response to the second operation, displaying a control window, wherein the control window comprises an application sharing control; detecting whether the first application supports sharing; in a case that the first application is detected to support sharing, updating a name of the application sharing control based on a name of the first application, wherein the updated name of the application sharing control is displayed in the control window; and receiving a third operation for the updated application sharing control.