After taking a photo and choosing "use" from the UIImagePickerController, the application returns control to this method:
- (void) imagePickerController

UIImagePickerController *) picker
didFinishPickingImage

UIImage *) image
editingInfo

NSDictionary *) editingInfo
The orientation I am referring to is in the UIImage sent by the UIImagePickerController. It has a imageOrientation property and when I interrogate the value, it does not match the orientation that I took the photo in.
For example, if I have the device up (UIImageOrientationUp), the orientation returned by the this image is UIImageOrientationRight. Similar problems occur when taking pictures in left or right landscape.