Ver Fonte

1.修改iOS Apex & Drivers拍照方向不正确。

Pen Li há 8 anos atrás
pai
commit
e4256e2f84

+ 3 - 5
Redant Drivers/Apex And Drivers/Camera/RATakePhotoPreviewController.m

@@ -8,7 +8,6 @@
 
 #import "RATakePhotoPreviewController.h"
 #import "const.h"
-#import "UIImage+fixOrientation.h"
 
 @interface RATakePhotoPreviewController ()<UIScrollViewDelegate>
 
@@ -36,7 +35,6 @@
 }
 
 - (void)setPreImage:(UIImage *)preImage {
-//    _preImage = [preImage fixOrientation];
     _preImage = preImage;
 }
 
@@ -50,9 +48,9 @@
 }
 
 - (IBAction)retakeBtnClick:(UIButton *)sender {
-    if (self.photoHandler) {
-        self.photoHandler(nil);
-    }
+//    if (self.photoHandler) {
+//        self.photoHandler(nil);
+//    }
     [self.navigationController popViewControllerAnimated:YES];
 }