title: Force UIImagePickerController to Crop a Square Image
body: <p>How do we force UIIImagePickerController to crop a square image?</p>
  
  <p>I have searched all over and I haven't found a solid solution.  Thankyo</p>
  
  <pre><code>var imagePickerController: UIImagePickerController = UIImagePickerController();
  imagePickerController.allowsEditing = true;
  imagePickerController.delegate = self;
  imagePickerController.sourceType = sourceType;
  
  
  
  func imagePickerController(picker: UIImagePickerController, didFinishPickingImage image: UIImage!, editingInfo: [NSObject : AnyObject]!) {
      profilePictureSelected = true;
  
      profilePictureImageView.image = image;
  
      picker.dismissViewControllerAnimated(true, completion: nil);
  }
  </code></pre>