Skip to content

Instantly share code, notes, and snippets.

@yoshimin
Created August 24, 2014 09:13
Show Gist options
  • Save yoshimin/e0088360211cc2cafea5 to your computer and use it in GitHub Desktop.
Save yoshimin/e0088360211cc2cafea5 to your computer and use it in GitHub Desktop.
// アスペクト比は固定
self.imageCropViewController.cropMode = YMNImageCropModeFixedAspect;
// アスペクト比の値は1.f
self.imageCropViewController.cropRectAspectRatio = 1.f;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment