title: How to remove square ratio cropping for images on IOS
body: <p>I am using the IOS standard image cropping functionality (move and scale) to crop my image before submitting it to the server.</p>
  
  <p>However, I realize that the cropping provided has a square ratio (see screenshot below)</p>
  
  <p><img src="https://i.stack.imgur.com/sC0r9.png" alt="enter image description here"></p>
  
  <p>Snippet of the code is as follows:</p>
  
  <pre><code>//set up image picker
  self.imgPicker = [[[UIImagePickerController alloc] init]autorelease];
  self.imgPicker.allowsEditing = YES;
  self.imgPicker.delegate = self;
  
  //Trigger get photo from library function
  self.imgPicker.sourceType = UIImagePickerControllerSourceTypePhotoLibrary;
  [self presentModalViewController:self.imgPicker animated:YES];
  </code></pre>
  
  <p>How can allow 'move and scale' editing and at the same time allow the user to do cropping WITHOUT the square ratio restriction?</p>