n it is determined that the subject is a moving body, while it selects the second sequence based on the AF evaluation valueproduced by the contrast signal generator 50 when it is determined that the subject is not a moving body.Consequently, automatic selection (switching) is possible without missing the opportunity to take a subject due to slow focus detection operation when the subject is moving