An electronic device (2000, 900) comprising: a foldable housing including: a hinge; a first housing connected to the hinge, and including a first face oriented in a first direction, and a second face oriented in a second direction opposite the first direction; and a second housing connected to the hinge, and including a third face oriented in a third direction, and a fourth face oriented in a fourth direction opposite the third direction, the second housing being folded to the first housing about the hinge, wherein, when the foldable housing is in a folded state, the first face faces the third face and when the foldable housing is in a fully unfolded state, the third direction conforms to the first direction; a sensor module (176, 410); a display (200, 230, 405) including a first portion and a second portion extending from the first face to the third face so as to form the first face and the third face, respectively; a processor operatively connected with the sensor module and the display (200, 230, 405); and a memory operatively connected with the processor, wherein the memory stores instructions that, when executed, cause the processor to: activate a privacy mode, the privacy mode being a state in which content displayed on the display (200, 230, 405) is adjusted for privacy protection; determine a fifth direction in which the first face and the third face are oriented in the fully unfolded state; determine the determined fifth direction as a visual line of a user; sense a folding angle θ between the first housing and the second housing when folding of the foldable housing is sensed via the sensor module; determine a sixth direction of the first face and a seventh direction of the third face, determine a first angle Θ1 in which the sixth direction of the first face is inclined with respect to the determined visual line and a second angle Θ2 in which the seventh direction of the third face is inclined with respect to the determined visual line; determine a region of the display (200, 230, 405) that is expected to be relatively visible as a display region and a remaining region of the display (200, 230, 405) as a non-display region, based on the sensed folding angle θ, the first angle Θ1, and the second angle Θ2, wherein the size of the display region is based on the folding angle θ, and the position of the display region is adjusted based on the first angle θ1 and second angle θ2; and display content on the determined display region of the display (200, 230, 405). a hinge; a first housing connected to the hinge, and including a first face oriented in a first direction, and a second face oriented in a second direction opposite the first direction; and a second housing connected to the hinge, and including a third face oriented in a third direction, and a fourth face oriented in a fourth direction opposite the third direction, the second housing being folded to the first housing about the hinge, wherein, when the foldable housing is in a folded state, the first face faces the third face and when the foldable housing is in a fully unfolded state, the third direction conforms to the first direction; a sensor module (176, 410); a display (200, 230, 405) including a first portion and a second portion extending from the first face to the third face so as to form the first face and the third face, respectively; a processor operatively connected with the sensor module and the display (200, 230, 405); and a memory operatively connected with the processor, wherein the memory stores instructions that, when executed, cause the processor to: activate a privacy mode, the privacy mode being a state in which content displayed on the display (200, 230, 405) is adjusted for privacy protection; determine a fifth direction in which the first face and the third face are oriented in the fully unfolded state; determine the determined fifth direction as a visual line of a user; sense a folding angle θ between the first housing and the second housing when folding of the foldable housing is sensed via the sensor module; determine a sixth direction of the first face and a seventh direction of the third face, determine a first angle Θ1 in which the sixth direction of the first face is inclined with respect to the determined visual line and a second angle Θ2 in which the seventh direction of the third face is inclined with respect to the determined visual line; determine a region of the display (200, 230, 405) that is expected to be relatively visible as a display region and a remaining region of the display (200, 230, 405) as a non-display region, based on the sensed folding angle θ, the first angle Θ1, and the second angle Θ2, wherein the size of the display region is based on the folding angle θ, and the position of the display region is adjusted based on the first angle θ1 and second angle θ2; and display content on the determined display region of the display (200, 230, 405).