An electronic device, comprising one or more processors, a memory, and a foldable display, wherein the foldable display comprises a first display (B, D) and a second display (A, C); and the memory and the foldable display are coupled to the one or more processors, the memory is configured to store computer program code, the computer program code comprises computer instructions, and the one or more processors invoke the computer instructions, so that the electronic device performs the following operations: detecting that the foldable display is in a folded state, and displaying a first user interface of a first application on the first display (B, D), wherein the first application is a reading application; detecting whether the electronic device is flipped over; and when the electronic device is flipped over, displaying a second user interface of the first application on the second display (A, C), wherein the second user interface and the first user interface comprise same interface elements, and the second user interface and the first user interface are different in at least one of the following: a background color, a color of the displayed interface elements, or an arrangement manner of the interface elements, the processor is further configured to invoke the computer instructions, so that the electronic device determines an area that is on the second display (A, C) and that is not blocked by a hand of a user, and.when the electronic device is flipped over, the electronic device displays the second user interface in the area that is on the second display (A, C) and that is not blocked by the hand of the user, and the electronic device comprises a pressure sensor disposed below the second display (A, C) and a further pressure sensor disposed at a frame of the electronic device, the electronic device being configured to calculate, based on pressure measured by the pressure sensor disposed below the second display (A, C), a position of a touch point at which the user touches the second display (A, C), and further being configured to calculate a position of a touch point of the user at the frame based on pressure measured by the further pressure sensor, to assist in determining the area that is on the second display (A, C) and that is blocked by the hand of the user. detecting that the foldable display is in a folded state, and displaying a first user interface of a first application on the first display (B, D), wherein the first application is a reading application; detecting whether the electronic device is flipped over; and when the electronic device is flipped over, displaying a second user interface of the first application on the second display (A, C), wherein the second user interface and the first user interface comprise same interface elements, and the second user interface and the first user interface are different in at least one of the following: a background color, a color of the displayed interface elements, or an arrangement manner of the interface elements, the processor is further configured to invoke the computer instructions, so that the electronic device determines an area that is on the second display (A, C) and that is not blocked by a hand of a user, and.when the electronic device is flipped over, the electronic device displays the second user interface in the area that is on the second display (A, C) and that is not blocked by the hand of the user, and the electronic device comprises a pressure sensor disposed below the second display (A, C) and a further pressure sensor disposed at a frame of the electronic device, the electronic device being configured to calculate, based on pressure measured by the pressure sensor disposed below the second display (A, C), a position of a touch point at which the user touches the second display (A, C), and further being configured to calculate a position of a touch point of the user at the frame based on pressure measured by the further pressure sensor, to assist in determining the area that is on the second display (A, C) and that is blocked by the hand of the user.