Commit 177778f4 authored by yuzheng's avatar yuzheng

优化一些细节

parent d578bee3
......@@ -472,6 +472,7 @@
TZImagePickerController *imagePicker = [[TZImagePickerController alloc] initCropTypeWithAsset:assetModel.asset photo:image completion:^(UIImage *cropImage, id asset) {
[self refreshCollectionViewWithAddedAsset:asset image:cropImage];
}];
imagePicker.allowPickingImage = YES;
imagePicker.needCircleCrop = self.needCircleCropSwitch.isOn;
imagePicker.circleCropRadius = 100;
[self presentViewController:imagePicker animated:YES completion:nil];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment