Updated documentation and removed returnsOriginalImage parameter, setting that always to true for now

This commit is contained in:
CSullivan102
2014-01-10 19:59:23 -05:00
parent a30d6ea81f
commit df4c2247bc
3 changed files with 46 additions and 5 deletions
+1 -2
View File
@@ -21,7 +21,6 @@
- (void) getPictures:(CDVInvokedUrlCommand *)command {
NSDictionary *options = [command.arguments objectAtIndex: 0];
bool returnsOriginalImage = [[options objectForKey:@"returnsOriginalImage"] boolValue];
NSInteger maximumImagesCount = [[options objectForKey:@"maximumImagesCount"] integerValue];
self.width = [[options objectForKey:@"width"] integerValue];
self.height = [[options objectForKey:@"height"] integerValue];
@@ -40,7 +39,7 @@
ELCImagePickerController *imagePicker = [[ELCImagePickerController alloc] initWithRootViewController:albumController];
imagePicker.maximumImagesCount = maximumImagesCount;
imagePicker.returnsOriginalImage = returnsOriginalImage;
imagePicker.returnsOriginalImage = 1;
imagePicker.imagePickerDelegate = self;
albumController.parent = imagePicker;