An electronic device, comprising: one or more cameras (180, 240) having a designated field of view; a display (160, 230); a communication circuitry (190, 220, 312); and a processor (120, 250, 313), wherein the processor (120, 250, 313) is configured to: identify an external electronic device (102, 104, 202, 302, 303) among one or more external objects included in the designated field of view using the one or more cameras (180, 240), based on first location information (815, 825) of the external electronic device (102, 104, 202, 302, 303) identified based at least on image information obtained using the one or more cameras (180, 240), display a graphic object (411, 602, 811, 813, 821, 823, 1012) corresponding to the external electronic device (102, 104, 202, 302, 303) on the display (160, 230), and characterised in that: when the external electronic device (102, 104, 202, 302, 303) is out of the designated field of view, display the graphic object (411, 602, 811, 813, 821, 823, 1012) on the display (160, 230) based on second location information (817, 827) of the external electronic device (102, 104, 202, 302, 303) identified using the one or more cameras (180, 240) before the external electronic device (102, 104, 202, 302, 303) is out of the designated field of view and information related to a movement of the external electronic device (102, 104, 202, 302, 303) received from the external electronic device (102, 104, 202, 302, 303) via the communication circuitry (190, 220, 312) after the external electronic device (102, 104, 202, 302, 303) is out of the designated field of view. one or more cameras (180, 240) having a designated field of view; a display (160, 230); a communication circuitry (190, 220, 312); and a processor (120, 250, 313), wherein the processor (120, 250, 313) is configured to: identify an external electronic device (102, 104, 202, 302, 303) among one or more external objects included in the designated field of view using the one or more cameras (180, 240), based on first location information (815, 825) of the external electronic device (102, 104, 202, 302, 303) identified based at least on image information obtained using the one or more cameras (180, 240), display a graphic object (411, 602, 811, 813, 821, 823, 1012) corresponding to the external electronic device (102, 104, 202, 302, 303) on the display (160, 230), and characterised in that: when the external electronic device (102, 104, 202, 302, 303) is out of the designated field of view, display the graphic object (411, 602, 811, 813, 821, 823, 1012) on the display (160, 230) based on second location information (817, 827) of the external electronic device (102, 104, 202, 302, 303) identified using the one or more cameras (180, 240) before the external electronic device (102, 104, 202, 302, 303) is out of the designated field of view and information related to a movement of the external electronic device (102, 104, 202, 302, 303) received from the external electronic device (102, 104, 202, 302, 303) via the communication circuitry (190, 220, 312) after the external electronic device (102, 104, 202, 302, 303) is out of the designated field of view. identify an external electronic device (102, 104, 202, 302, 303) among one or more external objects included in the designated field of view using the one or more cameras (180, 240), based on first location information (815, 825) of the external electronic device (102, 104, 202, 302, 303) identified based at least on image information obtained using the one or more cameras (180, 240), display a graphic object (411, 602, 811, 813, 821, 823, 1012) corresponding to the external electronic device (102, 104, 202, 302, 303) on the display (160, 230), and characterised in that: when the external electronic device (102, 104, 202, 302, 303) is out of the designated field of view, display the graphic object (411, 602, 811, 813, 821, 823, 1012) on the display (160, 230) based on second location information (817, 827) of the external electronic device (102, 104, 202, 302, 303) identified using the one or more cameras (180, 240) before the external electronic device (102, 104, 202, 302, 303) is out of the designated field of view and information related to a movement of the external electronic device (102, 104, 202, 302, 303) received from the external electronic device (102, 104, 202, 302, 303) via the communication circuitry (190, 220, 312) after the external electronic device (102, 104, 202, 302, 303) is out of the designated field of view.