Method for identifying for accessory an electronic device thereof

The present invention relates to a method for identifying accessories, and an electronic device thereof. The method for identifying accessories includes the steps of identifying an ID of an accessory capable of being combined to the electronic device; automatically downloading user interface (UI)/user experience (UX) from a server according to the identified ID of the accessory; and installing the downloaded UI/UX automatically. Accordingly, the UI/UX in accordance with the combined accessory can be downloaded and installed automatically without searching on the electronic device.