1. An image pickup apparatus having a processor executing instructions in a memory, wherein the processor comprises: an image pickup element that picks up an image of a subject to generate image data; an analyzing unit that analyzes a background region of the image data; a determining unit that determines whether the image data has a panning effect on the basis of a result of the analysis made by the analyzing unit; and a control unit that controls photographing conditions for a panning shot, accordance with the determination made by the determination unit, wherein the analyzing unit analyzes at least one of: (1) a contrast in the background region, (2) a difference in brightness between a subject region of the image data and the background region, (3) a difference in color between the subject region and the background region, and (4) a difference in color difference between the subject region and the background region.