An information prompt method, comprising: when an electronic device runs an augmented reality navigation function, collecting, by the electronic device, an image of an ambient environment of a user to generate a real-scenario image, and obtaining information about a point of interest from an electronic map, wherein the obtaining, by the electronic device, information about a point of interest from an electronic map comprises: obtaining, by the electronic device, information about a point of interest in a specified area from the electronic map based on position information of the electronic device, wherein the specified area comprises the position information of the electronic device, and the information about the point of interest comprises a name of the point of interest and coordinates of the point of interest; identifying, by the electronic device, the real-scenario image, to determine a target object, wherein identifying the real-scenario image comprises determining whether the electronic device is located outdoors or indoors based on the position information of the electronic device; determining, by the electronic device, a label of the target object based on matching the information about the point of interest with the target object; determining a display position of the label in the real-scenario image based on the information about the point of interest and the position information of the electronic device; and displaying, by the electronic device, an interface comprising the label and the real-scenario image, wherein the label is displayed in an overlay mode at the display position in the real-scenario image. when an electronic device runs an augmented reality navigation function, collecting, by the electronic device, an image of an ambient environment of a user to generate a real-scenario image, and obtaining information about a point of interest from an electronic map, wherein the obtaining, by the electronic device, information about a point of interest from an electronic map comprises: obtaining, by the electronic device, information about a point of interest in a specified area from the electronic map based on position information of the electronic device, wherein the specified area comprises the position information of the electronic device, and the information about the point of interest comprises a name of the point of interest and coordinates of the point of interest; identifying, by the electronic device, the real-scenario image, to determine a target object, wherein identifying the real-scenario image comprises determining whether the electronic device is located outdoors or indoors based on the position information of the electronic device; determining, by the electronic device, a label of the target object based on matching the information about the point of interest with the target object; determining a display position of the label in the real-scenario image based on the information about the point of interest and the position information of the electronic device; and displaying, by the electronic device, an interface comprising the label and the real-scenario image, wherein the label is displayed in an overlay mode at the display position in the real-scenario image. identifying, by the electronic device, the real-scenario image, to determine a target object, wherein identifying the real-scenario image comprises determining whether the electronic device is located outdoors or indoors based on the position information of the electronic device; determining, by the electronic device, a label of the target object based on matching the information about the point of interest with the target object; determining a display position of the label in the real-scenario image based on the information about the point of interest and the position information of the electronic device; and displaying, by the electronic device, an interface comprising the label and the real-scenario image, wherein the label is displayed in an overlay mode at the display position in the real-scenario image.