I am facing some issues with the orientation of the photos. After taking a portrait picture and saving it to the camera roll, I see it rotated. But when I add it to an Image View it looks ok. Anyone else found the same issue? Is there an open bug in the Feedback Assistant? Thanks!
Same issue happened when I tried to save it using the PHPhotoLibrary
-(void)imagePickerController:(UIImagePickerController *)picker didFinishPickingMediaWithInfo:(NSDictionary *)info
{
UIImage *image = [info objectForKey:UIImagePickerControllerOriginalImage];
UIImageWriteToSavedPhotosAlbum(image, nil, nil, nil); //Saves rotated
imageView.image = image; //Appears OK
[self dismissModalViewControllerAnimated:YES];
}
PHAssetChangeRequest *changeRequest = [PHAssetChangeRequest creationRequestForAssetFromImage:image];
assetPlaceholder = changeRequest.placeholderForCreatedAsset;