Index: trunk/tools/WikiSnaps/Classes/SourcePickerViewController.m |
— | — | @@ -217,7 +217,9 @@ |
218 | 218 | UIImage *image = [info valueForKey:UIImagePickerControllerOriginalImage]; |
219 | 219 | |
220 | 220 | image = [image correctOrientation:image]; |
| 221 | + UIImageWriteToSavedPhotosAlbum( image, nil, nil, nil ); |
221 | 222 | |
| 223 | + // Prepare upload |
222 | 224 | CommonsUpload *ourUpload = [[CommonsUpload alloc] init]; |
223 | 225 | ourUpload.imageData = UIImageJPEGRepresentation(image, 0.85f); |
224 | 226 | |