| CPC G06F 3/0393 (2019.05) [G06F 3/044 (2013.01); G06F 3/046 (2013.01); G06F 3/04886 (2013.01); G06F 2203/04803 (2013.01)] | 20 Claims |

|
1. An electronic device comprising:
a first housing;
a second housing;
a hinge configured to foldably connect one side of the first housing to one side of the second housing;
a display including a first display area disposed in the first housing and a second display area disposed in the second housing;
one or more processors; and
memory storing instructions that, when executed by the one or more processors, cause the electronic device to:
in case that attachment of an external accessory for displaying a user interface is detected in the second display area, display a user interface corresponding to a type of the external accessory in an area of the second display area to which the external accessory is attached.
|