This application is the U.S. national phase of International Application No. PCT/KR2017/006934 filed 30 Jun. 2017, which designated the U.S. and claims priority to KR Patent Application No. 10-2016-0105557 filed 19 Aug. 2016, the entire contents of each of which are hereby incorporated by reference.

TECHNICAL FIELD

Embodiments of the present disclosure relate to a method and an apparatus for displaying in an electronic device.

BACKGROUND ART

Recent electronic devices are provided with a security function enabling financial services, a multimedia function for enjoying games/videos, and an office work processing function including the Internet, mailing, etc., in addition to a communication function.

In addition, with the enhancement of technology, the electronic devices have become miniaturized/slimmer, and displays mounted on the electronic devices are developing into various forms. As displays, a liquid crystal display (LCD), a plasma display panel (PDP) device, a field emission display (FED) device, an electro luminescence display (ELD) device, an organic light emitting diode (OLED), and the like are developed, and they are developing with the aim of achieving slimness, lightness, and low-power consumption.

In addition, displays are developing to be able to bendable or foldable, and curved type displays are increasingly employed in electronic devices (for example, smartphones, televisions, monitors, wearable devices, or the like).

SUMMARY

Various embodiments provide a method and an apparatus for easily executing a related configuration or function in response to a change of a form of an electronic device, in the electronic device which can have its form changed by employing a flexible display.

An operation method of an electronic device according to an embodiment of the present disclosure includes: detecting a change of a form of the electronic device; determining an account to be used in the changed form of the electronic device; and displaying a user interface (UI) corresponding to a configuration corresponding to the determined account in the changed form, based on the configuration.

An electronic device according to another embodiment of the present disclosure includes: a sensor configured to detect a change of a form of the electronic device; at least one processor configured to determine an account to be used in the changed form of the electronic device; and a display configured to display a user interface on the electronic device based on a configuration corresponding to the determined account.

According to the present disclosure, the electronic device automatically changes an account logged on to the electronic device in response to a change of the form of the electronic device, such that there is an effect of providing various user experiences based on a configuration suitable to each form.

