add
This commit is contained in:
@@ -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;
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user