An image-pickup apparatus (1) includes a light projection part (32, 33)
projecting light to an object, a focus detection part (26) detecting a
focus state, a light-source detection part 31 detecting information
relating to a light source. When a focus detection is performed without
lighting of the light projection part, a controller (100) generates
information used for focusing control based on a focus state detection
result and the information relating to the light source. When the focus
detection is performed with lighting of the light projection part, the
controller generates the information used for the focusing control based
on the focus state detection result and correction information depending
on a wavelength of the light projected from the light projection part
without using the information relating to the light source. Thus, a
highly-accurate AF control can be performed under various light sources
including an AF assist light.