I don't have iPhone, but almost every phone uses same orientation for photo as for GUI to avoid confusion. Orientation for GUI is usually changed with some hysteresis and other filtering, so probably answer is "The same orientation as it was before rotating in this position".