Przeglądaj źródła

1.修改iOS Apex CRM图像使用裁剪过的。

Pen Li 7 lat temu
rodzic
commit
0431156186
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      RedAnt CRM/APEX CRM/APEX CRM/RAWKWebView.m

+ 1 - 1
RedAnt CRM/APEX CRM/APEX CRM/RAWKWebView.m

@@ -715,7 +715,7 @@
     
     if (picker.sourceType == UIImagePickerControllerSourceTypePhotoLibrary) {
         
-        UIImage *image = [info objectForKey:UIImagePickerControllerOriginalImage];
+        UIImage *image = [info objectForKey:UIImagePickerControllerEditedImage];
         [picker dismissViewControllerAnimated:YES completion:nil];
         
         NSData *data = UIImageJPEGRepresentation(image, 1.0);