I am newbie to iOS programming.
I have a few simple questions.
- After picking image from gallery or taking a picture from camera, I want to select
rectangle area like android
UIImagePickerController * picker =[[UIImagePickerController alloc] init];
picker.delegate=self;
picker.allowsEditing=YES;
picker.sourceType=UIImagePickerControllerSourceTypeCamera;
[self presentViewController:picker animated:YES completion:nil];
When I use this code, I can't resize my area as you see below
.
- It is related to first question.
As you see my image is resized and changed to different ratio.
But I want image is fixed with original ratio.
- Anyone knows how to use camera in iOS simulator?