One example embodiment is an electronic device that measures physiological information of a living subject. The electronic device includes a sensor assembly, a first driving unit with an electromagnetic structure and a second driving unit. The first driving unit drives the sensor assembly to scan the living subject's skin along a scan path thereabove in a contactless way to determine a measuring position. The second driving unit drives the sensor assembly to move towards and contact the living subject's skin to measure the physiological information based on the measuring position.