iOS 二维码封装(logo图片,清晰化处理)

使用:

- (void)viewDidLoad {

[super viewDidLoad];

// Do any additional setup after loading the view, typically from a nib.

UIImage * imgCode =[KwCreateQrcode qrcodeImgwithUrl:@"http://www.baidu.com" withCenterImg:[UIImage imageNamed:@"ftw"]];

UIImageView * iccc =[[UIImageView alloc]initWithFrame:CGRectMake(50, 200, 100, 100)];

iccc.image =imgCode;

[self.view addSubview:iccc];

}

Demo:http://pan.baidu.com/s/1kULPrNL

iOS 二维码封装(logo图片,清晰化处理)_第1张图片

你可能感兴趣的:(iOS 二维码封装(logo图片,清晰化处理))