An electronic device comprising: a first display disposed on a first surface of the electronic device; a second display disposed on a second surface of the electronic device and having a least a portion thereof being unviewable to a user according to a folding state of the electronic device; a memory configured to store instructions; and a processor electrically connected with the first display, the second display, and the memory, wherein the processor is configured to execute the instructions to: detect a change in the folding state of the electronic device while displaying a first image of a running application on one of the first display or the second display, when the change of the folding state is detected, identify a setting regarding continuity of the running application wherein continuity information is information indicating whether the application already displayed will be displayed when the folding state of the electronic device is changed, when the setting regarding the continuity of the running application is identified, generate a second image indicating a result of executing the running application to display on the other of the first display or the second display, characterized in, while generating the second image, store a snapshot image of the first image in the memory and display the snapshot image on the other of the first display or the second display, and when the second image is generated, display the second image on the other of the first display or the second display instead of the snapshot image. a first display disposed on a first surface of the electronic device; a second display disposed on a second surface of the electronic device and having a least a portion thereof being unviewable to a user according to a folding state of the electronic device; a memory configured to store instructions; and a processor electrically connected with the first display, the second display, and the memory, wherein the processor is configured to execute the instructions to: detect a change in the folding state of the electronic device while displaying a first image of a running application on one of the first display or the second display, when the change of the folding state is detected, identify a setting regarding continuity of the running application wherein continuity information is information indicating whether the application already displayed will be displayed when the folding state of the electronic device is changed, when the setting regarding the continuity of the running application is identified, generate a second image indicating a result of executing the running application to display on the other of the first display or the second display, characterized in, while generating the second image, store a snapshot image of the first image in the memory and display the snapshot image on the other of the first display or the second display, and when the second image is generated, display the second image on the other of the first display or the second display instead of the snapshot image. detect a change in the folding state of the electronic device while displaying a first image of a running application on one of the first display or the second display, when the change of the folding state is detected, identify a setting regarding continuity of the running application wherein continuity information is information indicating whether the application already displayed will be displayed when the folding state of the electronic device is changed, when the setting regarding the continuity of the running application is identified, generate a second image indicating a result of executing the running application to display on the other of the first display or the second display, characterized in, while generating the second image, store a snapshot image of the first image in the memory and display the snapshot image on the other of the first display or the second display, and when the second image is generated, display the second image on the other of the first display or the second display instead of the snapshot image.