A content sharing method, applied to a first electronic device, wherein the method comprises: displaying a home screen, wherein the home screen comprises a first application and a second application; detecting a first operation on the first application; displaying a first user interface in response to the first operation, wherein the first user interface comprises first content, and the first content comprises a first picture; detecting a second operation on the first content; displaying a first window in a first region in response to the second operation, wherein the first thumbnail of the first picture is displayed in the first window; wherein the first window further comprises a second thumbnail of a second picture, the second picture corresponding to a second content; detecting a third operation on the electronic device; displaying the home screen in response to the third operation; detecting a fourth operation on the second application; displaying a second user interface in response to the fourth operation; detecting a fifth operation performed on the first thumbnail corresponding to the first picture; and displaying a preview window in response to the fifth operation, wherein the first picture is displayed in the preview window; detecting a sixth operation on the second user interface; and sending the first content to a second electronic device in response to the sixth operation; wherein before the detecting a fifth operation, the method further comprises: stopping displaying the first window in the first region to hide the first window immediately when the first window is not used or after a period of time when an operation on the first window stops; detecting a seventh operation on the electronic device to trigger the display of the first window, wherein the seventh operation comprises any one of the following: a slide gesture in a first direction of the first region, a touch and hold gesture in the first region, and tapping a floating window when the floating window is displayed on the electronic device; and displaying the first window in the first region in response to the seventh operation. displaying a home screen, wherein the home screen comprises a first application and a second application; detecting a first operation on the first application; displaying a first user interface in response to the first operation, wherein the first user interface comprises first content, and the first content comprises a first picture; detecting a second operation on the first content; displaying a first window in a first region in response to the second operation, wherein the first thumbnail of the first picture is displayed in the first window; wherein the first window further comprises a second thumbnail of a second picture, the second picture corresponding to a second content; detecting a third operation on the electronic device; displaying the home screen in response to the third operation; detecting a fourth operation on the second application; displaying a second user interface in response to the fourth operation; detecting a fifth operation performed on the first thumbnail corresponding to the first picture; and displaying a preview window in response to the fifth operation, wherein the first picture is displayed in the preview window; detecting a sixth operation on the second user interface; and sending the first content to a second electronic device in response to the sixth operation; wherein before the detecting a fifth operation, the method further comprises: stopping displaying the first window in the first region to hide the first window immediately when the first window is not used or after a period of time when an operation on the first window stops; detecting a seventh operation on the electronic device to trigger the display of the first window, wherein the seventh operation comprises any one of the following: a slide gesture in a first direction of the first region, a touch and hold gesture in the first region, and tapping a floating window when the floating window is displayed on the electronic device; and displaying the first window in the first region in response to the seventh operation. stopping displaying the first window in the first region to hide the first window immediately when the first window is not used or after a period of time when an operation on the first window stops; detecting a seventh operation on the electronic device to trigger the display of the first window, wherein the seventh operation comprises any one of the following: a slide gesture in a first direction of the first region, a touch and hold gesture in the first region, and tapping a floating window when the floating window is displayed on the electronic device; and displaying the first window in the first region in response to the seventh operation.