This commit is contained in:
lianxiang
2018-09-26 00:33:06 +08:00
parent 69522b22fc
commit d0230f55ed
68 changed files with 1599 additions and 209 deletions
@@ -103,7 +103,7 @@ static const CGFloat kInputViewH = 44.f;
}
if (self.inputTextField.text.length == 0) {
[[UIApplication sharedApplication].keyWindow makeToast:@"Comment content cannot be empty" duration:1 position:CSToastPositionCenter];
[[UIApplication sharedApplication].keyWindow makeToast:@"弹幕不能为空" duration:1 position:CSToastPositionCenter];
return;
}
@@ -7,8 +7,8 @@
//
#import "MaskShareBoootomViewCell.h"
#import "ZXingWrapper.h"
//#import "ZXingWrapper.h"
#import "UIImage+LogoQrCode.h"
@implementation MaskShareBoootomViewCell
@@ -16,7 +16,9 @@
[super awakeFromNib];
// Initialization code
self.backgroundColor = [UIColor clearColor];
UIImage *imag = [ZXingWrapper createCodeWithString:@"app_logo" size:CGSizeMake(85, 85) CodeFomart:kBarcodeFormatQRCode];
// UIImage *imag = [ZXingWrapper createCodeWithString:@"giga" size:CGSizeMake(170, 170) CodeFomart:kBarcodeFormatQRCode];
UIImage *imag = [UIImage createQrImageWith:[UIImage imageNamed:@"result_logo"] logoSize:CGSizeZero qrText:@"jijia"];
self.codeImageVIew.image = imag;
}