1. A method of iris scanning and proximity sensing in a terminal, the method comprising: determining a selected operation mode is iris scanning mode or proximity sensing mode at an input unit; when the selected operation mode is an iris scanning mode, performing the operation of sensing the iris, the operation of sensing the iris comprising emitting a first light having an amount of light of a first level, and photographing an iris using the first light; when the selected operation mode is a proximity sensing mode, performing the operation of sensing proximity degree, the operation of sensing the proximity degree comprising emitting a second light having an amount of light of a second level, and sensing proximity information on whether an object has approached using the second light; recognizing the iris, by a controller, using the photographed iris image and performing a function according to the sensed proximity information, and wherein the first level is higher than the second level.