According to the text, he exposed the foreground separately, when the sun was out of the frame.