Commit 4c6b2c1b authored by hanling's avatar hanling

disabled done button

parent 81715d3e
......@@ -382,6 +382,7 @@
[_tzImagePickerVc addSelectedModel:model];
}
if (_tzImagePickerVc.allowCrop) { // 裁剪状态
_doneButton.enabled = NO;
TZImagePickerController *rootVc = self.navigationController;
[rootVc showProgressHUD];
NSIndexPath *indexPath = [NSIndexPath indexPathForItem:_currentIndex inSection:0];
......@@ -392,6 +393,7 @@
cropedImage = [TZImageCropManager circularClipImage:cropedImage];
}
dispatch_async(dispatch_get_main_queue(), ^{
_doneButton.enabled = YES;
[rootVc hideProgressHUD];
if (self.doneButtonClickBlockCropMode) {
TZAssetModel *model = _models[_currentIndex];
......
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