An information processing method applied to an electronic device having a projection assembly and a position-orientation sensor configured to detect position-orientation information of the electronic device is described. The method includes determining whether the electronic device is in a projection mode to obtain a first determination result; acquiring position-orientation information of the electronic device as detected by the position-orientation sensor when the first determination result indicates that the electronic device is in a projection mode; generating an adjustment line based on the position-orientation information; acquiring a preset reference line; and displaying the adjustment line and the reference line in a projected screen, to assist a user in adjusting the adjustment line to coincide with the reference line.