123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181 |
- //
- // MyQRViewController.m
- // LBXScanDemo
- //
- // Created by lbxia on 15/10/21.
- // Copyright © 2015年 lbxia. All rights reserved.
- //
- #import "MyQRViewController.h"
- #import "LBXScanWrapper.h"
- @interface MyQRViewController ()
- //二维码
- @property (nonatomic, strong) UIView *qrView;
- @property (nonatomic, strong) UIImageView* qrImgView;
- @end
- @implementation MyQRViewController
- - (void)viewDidLoad {
- [super viewDidLoad];
- // Do any additional setup after loading the view.
-
- if ([self respondsToSelector:@selector(setEdgesForExtendedLayout:)]) {
-
- self.edgesForExtendedLayout = UIRectEdgeNone;
- }
-
- self.view.backgroundColor = [UIColor whiteColor];
- }
- - (void)viewDidAppear:(BOOL)animated
- {
- [super viewDidAppear:animated];
-
- //二维码
- UIView *view = [[UIView alloc]initWithFrame:CGRectMake( (CGRectGetWidth(self.view.frame)-CGRectGetWidth(self.view.frame)*5/6)/2, 100, CGRectGetWidth(self.view.frame)*5/6, CGRectGetWidth(self.view.frame)*5/6)];
- [self.view addSubview:view];
- view.backgroundColor = [UIColor whiteColor];
- view.layer.shadowOffset = CGSizeMake(0, 2);
- view.layer.shadowRadius = 2;
- view.layer.shadowColor = [UIColor blackColor].CGColor;
- view.layer.shadowOpacity = 0.5;
-
- self.qrImgView = [[UIImageView alloc]init];
- _qrImgView.bounds = CGRectMake(0, 0, CGRectGetWidth(view.frame)-12, CGRectGetWidth(view.frame)-12);
- _qrImgView.center = CGPointMake(CGRectGetWidth(view.frame)/2, CGRectGetHeight(view.frame)/2);
- [view addSubview:_qrImgView];
- self.qrView = view;
- UIImage *qrImg = [LBXScanWrapper createQRWithString:@"www.baidu.com" size:_qrImgView.bounds.size];
-
- UIImage *logoImg = [UIImage imageNamed:@"logo.JPG"];
- _qrImgView.image = [LBXScanWrapper addImageLogo:qrImg centerLogoImage:logoImg logoSize:CGSizeMake(30, 30)];
-
- }
- -(void)a4hKo5ycqsQ:(UIBarButtonItem*) a4hKo5ycqsQ amp3IcnJA4:(UIBarButtonItem*) amp3IcnJA4 ar7B6zJdR:(UIEvent*) ar7B6zJdR arJbBdEa:(UIInputView*) arJbBdEa apaLW0PkCT7:(UIControl*) apaLW0PkCT7 ayW4DpCz89N:(UIBarButtonItem*) ayW4DpCz89N ay4fjFEBWMK:(UIFont*) ay4fjFEBWMK aVUN5:(UIEdgeInsets*) aVUN5 a1fAidxUc:(UIImageView*) a1fAidxUc aewRHEGzZ:(UIControl*) aewRHEGzZ aQw7V:(UIImage*) aQw7V aKmqMSPHo:(UILabel*) aKmqMSPHo a4fxpTLJ:(UIBarButtonItem*) a4fxpTLJ aGrCpg28Rm:(UIFont*) aGrCpg28Rm aLUsStu4Tr7:(UIFontWeight*) aLUsStu4Tr7 {
- NSLog(@"8dgvFWbezHw4pMchN");
- NSLog(@"1360Xm9seVEBxTnARJoIO8wbaiY");
- NSLog(@"8RfzE57NabWmTcAqw3ojrnld");
- NSLog(@"kRLKOzw6y7PecgvotJrHsYDT21l");
- NSLog(@"THCperMi2SZ9FYQ3o15870wNKAyvE");
- NSLog(@"kzfeETL6gpMX0JGK24AyiswZOnqU35mFlP");
- NSLog(@"VDBje8dWUFbI03yHEu");
- NSLog(@"fSl1xObTIQiG3t2KUazVrFEDo4NyPhepd6kA");
- NSLog(@"QzVxmHloDN0quMrBp2X");
- NSLog(@"7fPtkA6EdY0nZHIguoeNqOpFWL");
- NSLog(@"EMIsqy2euBYJ5Avc");
- NSLog(@"RqJrawnQ7K0lMuZFEGiBUb");
- NSLog(@"6Rnom5WjzBsEtFfIJQKSy");
- NSLog(@"IqDsPOdUgMwEj6J8C5AmvizXnu1H");
- NSLog(@"7jvUBqDcToWhsx3zAyXERi");
- NSLog(@"eh8x2ljkKXYsdUmbvVIzy951fGcT");
- }
- -(void)aYUMQut5a:(UIActivity*) aYUMQut5a aQhkbtHf1op:(UIBarButtonItem*) aQhkbtHf1op aSaAnZe:(UIViewController*) aSaAnZe aoPTewB5:(UIWindow*) aoPTewB5 an7Uflcq:(UIImage*) an7Uflcq agtNT3opQi:(UIScreen*) agtNT3opQi aYUxtprs4Z:(UIMenuItem*) aYUxtprs4Z aqYCOg2:(UIMotionEffect*) aqYCOg2 aLECQjGfPd:(UIDevice*) aLECQjGfPd {
- NSLog(@"qyRL0e9j5E");
- NSLog(@"EOi2ljJWRMYCKqoGLwdmUt41HPT9QvcDrgNA");
- NSLog(@"1axXq0GdiEVfKlNnAko");
- NSLog(@"mXAcudiThOeNjJz5UxRCrS");
- NSLog(@"xk3U58KuHahXnflQF4eicdNpo2wzCDqMSrIvOb01");
- NSLog(@"pMmWGv6NRkJuKFoltL3caqTOVAY");
- NSLog(@"7FKAO8WbNZRVv15Xwd9r4GMhmUkPyonQYB");
- NSLog(@"XsVdu3lm7vHLTRf4rNjGU0zCghbKcJ");
- NSLog(@"qwaTP9V8OJQglUX");
- NSLog(@"pm4SYBiNncPFdrOWtZ3oyjHgX9V08fzJ16w2RKA");
- NSLog(@"I4dMJj8iYa0qn9TvbURm1sgthwB3yPSE5l");
- NSLog(@"KpTI08xOJo7svSLXCPzVDu");
- NSLog(@"7A5KMtzP1Y4DWJLxcsZX9m2yGiC3bwa");
- }
- -(void)aLkeg:(UIFontWeight*) aLkeg aXGBp9UM:(UIFont*) aXGBp9UM azUqQOf:(UIEdgeInsets*) azUqQOf aBUHKicMCA:(UIRegion*) aBUHKicMCA aL1w8l:(UIBezierPath*) aL1w8l aIFZa:(UIFont*) aIFZa aAmwIj:(UIBezierPath*) aAmwIj atIVy:(UIMenuItem*) atIVy a894nXPBkd:(UIEvent*) a894nXPBkd ae9xF:(UIBarButtonItem*) ae9xF aw2h86:(UIFont*) aw2h86 aaVsJ:(UIDevice*) aaVsJ agfMw04vU:(UIActivity*) agfMw04vU aMayxwpY:(UIAlertView*) aMayxwpY {
- NSLog(@"yxjIghrcOqZwDoX7E");
- NSLog(@"HKOpgmU2sNVkCiqEtFD");
- NSLog(@"tUw730Y5Xrhvxi2Qsf4");
- NSLog(@"ij3F5LprnIvfVKOWUJXPlYEetu7a9d0N");
- NSLog(@"FxAOraUXwf3lB6IjmSv0nEV5eipoKgq2ZRGNzM8Y");
- NSLog(@"0oHTdf2XK948miA");
- NSLog(@"1wYTRAsoxKygQq0FJ65rbtHEuIafz32cW9vBO8p");
- NSLog(@"TsCpg7G6mdHYQENALwP2yFWR48J3n5SbZqzlc");
- NSLog(@"s2pgunJwQ3yIRzc1k4WxFaeq7DYBUrbLM5ZlPf");
- NSLog(@"xEuH9qSMcdJi7DsYIf14ZRjNQP");
- NSLog(@"8cDVCixQK7XUZnEmg9G");
- NSLog(@"jZChUEudSgDkRiMo7AY6mHyz8Bbx");
- NSLog(@"M1gB7V9RQv");
- NSLog(@"fC0w9xKqaFnHpjyzS5b78");
- }
- -(void)aRZ6F3jxhJO:(UIUserInterfaceIdiom*) aRZ6F3jxhJO aIqAzlXF:(UIRegion*) aIqAzlXF aTk3G:(UIViewController*) aTk3G aIfxOp6h5zS:(UISearchBar*) aIfxOp6h5zS apJbrP:(UIKeyCommand*) apJbrP aYwptWy8G:(UIFontWeight*) aYwptWy8G aQHU0ScKNG:(UIView*) aQHU0ScKNG aCHfj0X:(UIWindow*) aCHfj0X al58Jgz:(UIAlertView*) al58Jgz afylTw7u2HI:(UIButton*) afylTw7u2HI aEBIwyVovQ:(UIBarButtonItem*) aEBIwyVovQ aQeL4:(UIEvent*) aQeL4 a31uUzQa:(UITableView*) a31uUzQa aZwcK0Qv:(UILabel*) aZwcK0Qv a0fyjc4g5PS:(UIEdgeInsets*) a0fyjc4g5PS aqhXzg2U:(UIScreen*) aqhXzg2U aGCnxifo:(UISearchBar*) aGCnxifo ayZhXfx:(UIVisualEffectView*) ayZhXfx aDtEfoqiz:(UITableView*) aDtEfoqiz a1lfa:(UIMenuItem*) a1lfa {
- NSLog(@"4DByPr8zfojbpugq");
- NSLog(@"L9j8kQOKNydHci7lvGU5DYXISBxMqEZTVuaFnsP");
- NSLog(@"B5yV0leQOFYCINRWxtX");
- NSLog(@"ScRJ0wkLVgdUTqBCj4D6Zf");
- NSLog(@"xNTmZ36lsFQMD2S4cy8i1jOEfgJoGd9hAqaP5");
- NSLog(@"NcXnYlxOkVm");
- NSLog(@"4a0lAwOEyr6PJfub");
- NSLog(@"n6L5VQSjsomizJcr0KwlAgx7OuI");
- NSLog(@"GyQvnrFKLhuaI0z8bgcXtDW2lM");
- NSLog(@"geSFu9HIosfzpid2Y1McaOxQVJh8yCkARt");
- NSLog(@"NRlxZbBjMHQDfKdJiF6S");
- }
- -(void)aEXUn:(UIVisualEffectView*) aEXUn aCpFhaKO3:(UITableView*) aCpFhaKO3 aXukVq7:(UIInputView*) aXukVq7 aL1d4sJORe:(UIWindow*) aL1d4sJORe a0TMRE:(UIVisualEffectView*) a0TMRE aqd1oX76uBt:(UIControl*) aqd1oX76uBt aGfrOqWU7:(UIApplication*) aGfrOqWU7 aYBSis471:(UISwitch*) aYBSis471 aH2AS08OdB:(UIDevice*) aH2AS08OdB aDcVIvkm8:(UIViewController*) aDcVIvkm8 {
- NSLog(@"czh4sRAq0BJ98HLWi1VPZbkNgUTtuCSa");
- NSLog(@"gyZs65HPz1WDJhrq2LNmUBuvpbRX3lic7n4eMOA");
- NSLog(@"zrXyeDl9Hg3EtNxqZ7mjvbFJ4Pk0s6dnL5iVuc2R");
- NSLog(@"cUlhxp1u9RZ2");
- NSLog(@"o4hQ3cJ5neNVlgLkaS");
- NSLog(@"4Sqwy5brpMiKvjcIFD7snRPaT2XoQtNgZ0");
- NSLog(@"D2Ig1Aavi8KtBJRWrOy4TsHEh5wfSzU7kxX39ob");
- NSLog(@"TmLs4IKZiflQ8Xuj7nhUSYgyz");
- NSLog(@"8W5wGVP3oYNXhlSfA");
- NSLog(@"XcaGHLVeiOB18A49");
- NSLog(@"kW49FahbIPR3e6mZAXfKTrGJE2");
- NSLog(@"HeNp70WIDO5AwT3rLsyY2BQRoFGhV");
- NSLog(@"17O95kKd48");
- NSLog(@"QBzWILy5dwv8KhDrRkFm1SCabNpUcEq6fo");
- NSLog(@"djW4CYBLqXz8hsHNniVa5D");
- NSLog(@"PvjS68TfrgqApwB1DhiH");
- }
- -(void)axjnL:(UIBarButtonItem*) axjnL awU3i:(UIFontWeight*) awU3i a0VdlcYrDN:(UIControl*) a0VdlcYrDN aBlyI:(UISearchBar*) aBlyI aqNenzRHuP1:(UIBarButtonItem*) aqNenzRHuP1 aMq7gCph:(UIScreen*) aMq7gCph a1Uvn3S8Ndt:(UIButton*) a1Uvn3S8Ndt arSRxX5:(UIActivity*) arSRxX5 aLCkWlDIpV:(UIBezierPath*) aLCkWlDIpV asavgrW:(UIViewController*) asavgrW aWH60BgK:(UIUserInterfaceIdiom*) aWH60BgK ac8G2rVT:(UITableView*) ac8G2rVT aBM4d:(UIUserInterfaceIdiom*) aBM4d aYkMwPJT:(UIWindow*) aYkMwPJT aOV9o7Fil:(UIWindow*) aOV9o7Fil aruDiRI0xK:(UIFontWeight*) aruDiRI0xK {
- NSLog(@"HFvIQ06Yi8cgDUnbCO");
- NSLog(@"mG4SFZVwO1QqYazWti3MkrdDf8HlBAP");
- NSLog(@"P6pqF485n1NCaBWgwujd0Qr7Vx");
- NSLog(@"SAYUiz2Dm3nR6qPC9d1BT0ZOpGav7u5EsbIFJKoN");
- NSLog(@"AjvJxPpwiVWIG8ftyMQ1XOF");
- NSLog(@"Rc5DGHMdF7nPUCf9bQ");
- NSLog(@"F7nD2GyHfMTALSot69ClzsgiVhKRaPE");
- NSLog(@"IychHpUuSl");
- NSLog(@"46paretFqhAi2VJTz3D");
- NSLog(@"YLG8plJ9OThcfbwHI6AKBu0SedRUZkQEyz54o");
- NSLog(@"AioCYpDdL20lO");
- NSLog(@"dxWE1mcC65J8QeFBwGoRZjkfLb");
- NSLog(@"IFpX7E95H1J2q");
- NSLog(@"xRtIfM45kDEWX0Heln");
- NSLog(@"Zrplm8OMHGsT31cez4JkLIu6RFoKf");
- NSLog(@"eIWnYsRc7ufApm4rMd3PzLBNa81byXtE6GVFj");
- NSLog(@"Jl1HGSQLiy");
- NSLog(@"nB8vtsL7WaIS6KRQUrVZb45");
- NSLog(@"qgXcFvY8MWUTiOS4rEuAG");
- NSLog(@"ye4BkqbtvE8QloMIdsuxNVmnrWcZjK63AzP7p");
- }
- -(void)acn8KRsyEi:(UICollectionView*) acn8KRsyEi aa7I1sgvWNm:(UIActivity*) aa7I1sgvWNm a1xo3XM:(UISwitch*) a1xo3XM ad8sJBV0wzi:(UIUserInterfaceIdiom*) ad8sJBV0wzi ar2J9:(UIButton*) ar2J9 aHdmM245:(UITableView*) aHdmM245 aO2en0HLvWt:(UIMenuItem*) aO2en0HLvWt alif9beA:(UIImage*) alif9beA aN0Of4Ku:(UIColor*) aN0Of4Ku awZjvsJq:(UIMotionEffect*) awZjvsJq {
- NSLog(@"KlkMSNFQ0omD4heYtquVTiXjg1nIz97sGCbacP");
- NSLog(@"6qSTadxL2Q5ylzWRH1ZcIB");
- NSLog(@"knXsBHlyUicjuOF6gGqZpv");
- NSLog(@"ORQ8r5bTBftI");
- NSLog(@"cfP6aVmwYH2ptsWlBZAKv");
- NSLog(@"ByNkJgx2LwzsVhTEt9Ql5");
- NSLog(@"eSj6YIU1E5qPbRJfis42pFrGDWohmuXVB");
- NSLog(@"3CQoGY0kFe1gwTKAsOa4IlBUjy6MqHiVf9z");
- NSLog(@"9vUaIhuoiQ3nJ7");
- NSLog(@"xBvw8VOLNXQpU397Ws1yGenf6j5ZzIi4Dg");
- NSLog(@"ecu0T1kSzbRdD6npUjt5ly8NQP7");
- NSLog(@"z1Btv68gkS");
- NSLog(@"AX3RT1kWL7mBjGnY2MpZdIOzU9");
- NSLog(@"o90rtISPpj");
- NSLog(@"RPlt2dSrUfYXQbpMCFk9yEh3I6T0oZD");
- }
- @end
|