1. A method of controlling a digital photographing apparatus, comprising: determining at least one target subject from an input image; extracting a target subject focus value of the at least one target subject while auto-focusing the at least one target subject; determining whether the target subject focus value stays within an in-focus range for a reference time or longer; and auto-photographing the at least one target subject when the target subject focus value stays within the in-focus range for the reference time or longer.