Browse Source

APEX & DRIVERS
修复iOS12 SIGNATURE 背景色错误的问题。

Ray Zhang 7 years ago
parent
commit
a903a2ce92

+ 1 - 1
RedAnt ERP Mobile/common/Functions/signature/SignatureView.m

@@ -600,7 +600,7 @@ static PPSSignaturePoint ViewPointToGL(CGPoint viewPoint, CGRect bounds, GLKVect
     {
         [self commonInit];
         
-        self.backgroundColor =[UIColor whiteColor];
+//        self.backgroundColor =[UIColor clearColor];
         
         _mixPoint =CGPointMake(self.bounds.size.width, self.bounds.size.height);
         _maxPoint =CGPointMake(0, 0);

+ 1 - 1
RedAnt ERP Mobile/common/Functions/signature/SignatureViewController.m

@@ -61,7 +61,7 @@
         self.signatureView= [[SignatureView alloc] initWithFrame:CGRectMake((rect.size.width-signatureView_size.width)/2+5, (rect.size.height-signatureView_size.height)/2+90, signatureView_size.width, signatureView_size.height)];
     }
     
-    self.signatureView.backgroundColor = [UIColor yellowColor];
+//    self.signatureView.backgroundColor = [UIColor clearColor];
     
             self.signatureView.layer.borderColor = [UIColor darkGrayColor].CGColor;
             self.signatureView.layer.borderWidth = 1.0;