I need my user to pick the image with the frame 320 x 480. Although this code
works dandy for allowing the imageview to be seen 320 x 480, images smaller than 320 x 480 are there default size. I needthe images to be 320 x 480 for there use later in the application, so how can I allow the user to edit the images with a frame of 320 x 480 (as you can tell from allowsImageEditing = NO
once a thumbnail is selected the corresponding image is then chosen. So users can't crop resize those images to a 320 x 480 frame. *I would like users to be able to adjust all images, not just images smaller than 320 x 480. I am almost sure this is possible, but I am not sure how. **Obviously I will need to change allow Image Editing in the code (switch NO to YES) but then I still have to change the frame.
Code:
self.CUSTOMimagepicker1 = [[UIImagePickerController alloc] init];
self.CUSTOMimagepicker1.allowsImageEditing = NO;
CUSTOMimagepicker1.delegate = self;
self.CUSTOMimagepicker1.sourceType = UIImagePickerControllerSourceTypePhotoLibrary;
[self presentModalViewController:CUSTOMimagepicker1 animated:YES];