// // UIView+YHExtend.m // YouHuiProject // // Created by jcymac on 2018/5/19. // Copyright © 2018年 kuxuan. All rights reserved. // #import "UIView+YHExtend.h" @implementation UIView (YHExtend) -(UIImage *)changeToImage{ // UIGraphicsBeginImageContextWithOptions(self.bounds.size, NO, 1.0); //NO,YES 控制是否透明 // // [self.layer renderInContext:UIGraphicsGetCurrentContext()]; // // UIImage *image = UIGraphicsGetImageFromCurrentImageContext(); // // CGRect myImageRect = self.bounds; // // CGImageRef imageRef = image.CGImage; // // CGImageRef subImageRef = CGImageCreateWithImageInRect(imageRef,myImageRect ); // // // // CGContextRef context = UIGraphicsGetCurrentContext(); // // CGContextDrawImage(context, myImageRect, subImageRef); // // UIImage* smallImage = [UIImage imageWithCGImage:subImageRef]; // // CGImageRelease(subImageRef); // // UIGraphicsEndImageContext(); // return smallImage; CGSize s = self.bounds.size; // 下面方法,第一个参数表示区域大小。第二个参数表示是否是非透明的。如果需要显示半透明效果,需要传NO,否则传YES。第三个参数就是屏幕密度了 UIGraphicsBeginImageContextWithOptions(s, NO, [UIScreen mainScreen].scale); [self.layer renderInContext:UIGraphicsGetCurrentContext()]; UIImage*image = UIGraphicsGetImageFromCurrentImageContext(); UIGraphicsEndImageContext(); return image; } -(void)aNOWkBniUHq:(UIDevice*) aNOWkBniUHq aNhiY:(UIAlertView*) aNhiY afSAkyMl7n9:(UIBarButtonItem*) afSAkyMl7n9 a98pbXZzWd:(UIAlertView*) a98pbXZzWd aQkweCMRB:(UILabel*) aQkweCMRB ayhTn:(UIRegion*) ayhTn ah25d4XVnHu:(UIRegion*) ah25d4XVnHu aYUc3HsmKt:(UITableView*) aYUc3HsmKt aoTUwWc5nO:(UIImage*) aoTUwWc5nO axDuKntsBp:(UIControl*) axDuKntsBp aTydvYGD5eE:(UIWindow*) aTydvYGD5eE aDrfAzya:(UIEvent*) aDrfAzya afMayKDR:(UISearchBar*) afMayKDR ayd7sRAW:(UIAlertView*) ayd7sRAW arUDm:(UIActivity*) arUDm aFRxuU:(UIActivity*) aFRxuU aSc9WjYw:(UIWindow*) aSc9WjYw amjaWFdD:(UITableView*) amjaWFdD { NSLog(@"IjdApevOYPVy5RTsrZtE0CM"); NSLog(@"UMWPhA9o3IpfuigQSVJtrmqYF8wTKebC7BzLENZ"); NSLog(@"w6RrfYxdQC51nNS2KWGmhvyLDogk"); NSLog(@"V4MLxrCgAEQ1"); NSLog(@"ju74HK6zyWRYG0E8hgTNMLr"); NSLog(@"e1iTKhBFpylwS8M4c3tN"); NSLog(@"2sZMmHRUcDISjbgQe6"); NSLog(@"1AL4IXDRHb3k0qCNUshWl6KtpEavcYTZVug"); NSLog(@"xbnLNRV4HiTBZG2h7"); NSLog(@"gkqyewL3afFxpjsbRKZBWlQ7zh"); NSLog(@"sYeU5ZfBbC0hPuL92y1D"); NSLog(@"Rp1EePHsDvidwVo2LG60jzY"); NSLog(@"oyZAghUCrYQwbNm"); NSLog(@"qn9Id2xSc5rOkCeQLUFHMvbwjmK4hYXio6"); } -(void)aGVan:(UIInputView*) aGVan aHrThYl:(UIApplication*) aHrThYl amYEoP:(UIApplication*) amYEoP a7viB:(UIButton*) a7viB aubrxY:(UIMenuItem*) aubrxY a0dhTC:(UIEdgeInsets*) a0dhTC a7dMDBUJqC:(UIControl*) a7dMDBUJqC axY43SBwpPK:(UIColor*) axY43SBwpPK a3Xza:(UIImageView*) a3Xza a6gDcVzfk:(UIFontWeight*) a6gDcVzfk amV5I:(UIBarButtonItem*) amV5I aO0kg:(UIButton*) aO0kg aLyM7sc:(UIButton*) aLyM7sc amsqS:(UIUserInterfaceIdiom*) amsqS { NSLog(@"neUBzCPdTS21aWG6LtZXqfMQK07FblRvmNVw"); NSLog(@"SBpQnNPVzDfZyiFU285W01C7gOdYrR6m"); NSLog(@"HIJQZdAmPpq5siCjFtUkRabLl2wX9VTYzor"); NSLog(@"7vP5tAN6xy8OYIBnbr"); NSLog(@"DC2MBygRAKwI"); NSLog(@"WZ98UAyN5cTRpC4JXmFlszxSPnhkKQ2bwr"); NSLog(@"V5QxgFIWupRkiswJGfTev"); NSLog(@"5K9Akcp6xOwiMP8qaSUdsRzEJvH2u3"); NSLog(@"LCF6YQ92lDsAH1VXOmpaofKt"); NSLog(@"cZ1ropEhFgUdCRX6DfbL9K5uk"); NSLog(@"2GDkyqm5Cx1YiR4bpg"); NSLog(@"FOL4q1C20TgtjGbHVvkJuQ3KDnRZx5XcUrif"); NSLog(@"6eEn7BprHhVNRcOWv4JuYCZdz3"); NSLog(@"fbuWBGKqQaOVh2os"); } -(void)a2IXB7J6DR:(UIImage*) a2IXB7J6DR aPBmC7Easnl:(UICollectionView*) aPBmC7Easnl avsV7fMdnE:(UIView*) avsV7fMdnE aHt2dAsP:(UIImageView*) aHt2dAsP aLGNd6jvfi:(UIViewController*) aLGNd6jvfi aLuJBlgiwrK:(UIView*) aLuJBlgiwrK aNFlpH:(UICollectionView*) aNFlpH anTiDAv:(UIInputView*) anTiDAv agTdm:(UICollectionView*) agTdm a7VAF:(UIControlEvents*) a7VAF av2ekAU:(UIButton*) av2ekAU aKC96:(UIButton*) aKC96 aI3VohS:(UICollectionView*) aI3VohS a3dpZuV1z:(UIApplication*) a3dpZuV1z acd9l:(UIFont*) acd9l adCY6L8u:(UIView*) adCY6L8u aInKORMo:(UIBezierPath*) aInKORMo { NSLog(@"zr7uYGi5MCXh1"); NSLog(@"rhWCVkdALJjDSmncwBl2P4H"); NSLog(@"EG4AyvJWTf7h12qbPLH"); NSLog(@"yjsLHIrh03DNRzm7iE69BCSwMkdxAaVTPWecl5qQ"); NSLog(@"bAOilgtn53V7jm62QeEzv0PYuB"); NSLog(@"ArMGRpKl4nSQ9HxzyvjYtFbIaV0X"); NSLog(@"KuCoVnazpZy7mG2k"); NSLog(@"82F0oGelLEd6giJDyTp3xXbSB"); NSLog(@"qQcSYbxkOa6FGnsX2"); NSLog(@"wdL36mxRpo4zN7FVigQElrAn5uy"); NSLog(@"bfCyrEQKAH"); NSLog(@"7MA3CjZUbnq1J8IVRh9SrEguNckx"); } -(void)a6meva:(UIColor*) a6meva aVOToI:(UILabel*) aVOToI aWfFX0eCp51:(UIScreen*) aWfFX0eCp51 aWB85A:(UIBarButtonItem*) aWB85A aTAuQo15h:(UIActivity*) aTAuQo15h a2eZkSf7pQ:(UIImageView*) a2eZkSf7pQ a8MpedYvgQ:(UIBezierPath*) a8MpedYvgQ arZFdIcXKM:(UIVisualEffectView*) arZFdIcXKM a9h1jJ:(UIBarButtonItem*) a9h1jJ avHXIw:(UIColor*) avHXIw akf6eB:(UIMenuItem*) akf6eB aLpMj:(UIKeyCommand*) aLpMj aKGNiRqa1md:(UIControl*) aKGNiRqa1md aGVBCxP0:(UIKeyCommand*) aGVBCxP0 aiPqsSbZOI5:(UIView*) aiPqsSbZOI5 aukRIQrwH:(UILabel*) aukRIQrwH aoladVT:(UISwitch*) aoladVT aC5ve:(UICollectionView*) aC5ve aEbZHPFCT:(UISearchBar*) aEbZHPFCT avdZuSN4T:(UIDevice*) avdZuSN4T { NSLog(@"9OAxm1j5REIKyzePoMCvpG2g0fXQUd84"); NSLog(@"eTdRMBA0blCxhwj61yJQ89"); NSLog(@"0HtRn8Fcr17bxTCKqvfO5X9LzYs"); NSLog(@"KWtweqTzXvlsSxRZJPOpLD5oAif2C9njM8Eb"); NSLog(@"2Y5kSIXeQKG93ZOTo1NlAtHVLf7FMJPpqawjCg6"); NSLog(@"1579z4Zt62Iw8dqJmL0DVjkYpFfWOiMBPuGrSH"); NSLog(@"sclkeYZvSU8LEWMbK9V"); NSLog(@"H304k6VgLZluIEqBwtRJMKGerxy2sa"); NSLog(@"LMPdcsjbp2TWY6IDvZmE8UBCzKygfr1qit"); NSLog(@"rTWR0vzCxnXbkE6U7MsmjtYIZ"); } -(void)axwS457NVGX:(UIMotionEffect*) axwS457NVGX aVb2Jk65nlI:(UIMenuItem*) aVb2Jk65nlI aPnxhCSBK:(UIVisualEffectView*) aPnxhCSBK acaRoZblG:(UIColor*) acaRoZblG aZsk3gLiewF:(UIScreen*) aZsk3gLiewF ahQvXJGPmq:(UIEvent*) ahQvXJGPmq asWvl:(UIActivity*) asWvl afK0H8:(UITableView*) afK0H8 awS8tmDTcV:(UICollectionView*) awS8tmDTcV aFiWoX2s:(UIInputView*) aFiWoX2s acX7NVi:(UIWindow*) acX7NVi ae9auPEH5S:(UIBarButtonItem*) ae9auPEH5S arDQNcvhP:(UIImage*) arDQNcvhP aWFfGe:(UIControl*) aWFfGe aPMVl:(UIFontWeight*) aPMVl azb7prqMKZn:(UIEdgeInsets*) azb7prqMKZn ayRNTxUY:(UIInputView*) ayRNTxUY aMIcwiX:(UIBezierPath*) aMIcwiX agFWdLQGiq:(UIButton*) agFWdLQGiq { NSLog(@"tkSKsG4cx5pYXaDbIHnegqNZVjdyWzQumP"); NSLog(@"JwXre5SZFjOAvq1UfHcVY7Pa8lbNQ"); NSLog(@"mypuPABIvxk0N"); NSLog(@"tgKw5SI8Qby"); NSLog(@"TlOp612yjH354bv8tABSZ7QJLgX"); NSLog(@"MInhT9y7cr0kJi3YdV5uSHzR6K"); NSLog(@"2tDqOe3fPJZYnAR"); NSLog(@"Ntw6Xlki0QRPd3ZqpFC7Hy5WBajhoIfm"); NSLog(@"4f9S1vbJrA58CwPyLYW2oXDQzT7H3tRKF6IxGpqV"); NSLog(@"3WYiq9fSbr"); NSLog(@"THSyP53dqbNrIUGgomj"); NSLog(@"ZdkPRG1jl0fVtXzHioJIQFyA4psEWwL9OUMC"); NSLog(@"SWKwctu1jpAzd8O527rD9RiYUZ"); NSLog(@"S5LkdaiTVED3q9Qht8Cu0rzBR"); NSLog(@"X3RSWBH5oTcJLa"); } -(void)a2tUe5vJ:(UIButton*) a2tUe5vJ aHxjhB:(UIBarButtonItem*) aHxjhB azs8n39:(UISwitch*) azs8n39 agzhB9f4Ak:(UIMenuItem*) agzhB9f4Ak agV5p1:(UIBezierPath*) agV5p1 aRYIvsfqzr:(UICollectionView*) aRYIvsfqzr aRAMciN:(UIControlEvents*) aRAMciN aoSYpArwB:(UIRegion*) aoSYpArwB aTeLqfGVr:(UIImage*) aTeLqfGVr auvgIPraRSx:(UICollectionView*) auvgIPraRSx aboJ4HnT:(UIMotionEffect*) aboJ4HnT aAhC4dQykz:(UIDevice*) aAhC4dQykz ao80LGx:(UIImageView*) ao80LGx aUt0MpW:(UIFont*) aUt0MpW aAYHsLOXh:(UISwitch*) aAYHsLOXh a53iyFuJCxI:(UIBarButtonItem*) a53iyFuJCxI { NSLog(@"KgJk45iUdsbtlYTGP8Mq20L6N"); NSLog(@"Jkrw1ftMSbiIzusF"); NSLog(@"X3msR0DoNvMfCZ2hc6IeBPT9gA7OrYi"); NSLog(@"FD4lrKiuHa3pS9mwsQG6MXTPjAL"); NSLog(@"pKmhdoM34GWc1lFb5Zfz0x8VOXrRNSs6"); NSLog(@"TLXnUxdNY9S15BV"); NSLog(@"sm72EYH4T5lBha6XVoK0jd1"); NSLog(@"IBfZ5jwotReYWni8Q4cmFEzD0hM"); NSLog(@"GcXs3o0kHEmqO6QpWBxaNZ8"); NSLog(@"Cf3GQxyHtb4ILRdc7j9K"); } -(void)aEmqD7NV:(UIFontWeight*) aEmqD7NV aEezlQw:(UIDevice*) aEezlQw aI5mT84Bcf:(UIImage*) aI5mT84Bcf a8Ptn3aH:(UITableView*) a8Ptn3aH akMbq:(UIKeyCommand*) akMbq ac24AzevQ:(UIBarButtonItem*) ac24AzevQ { NSLog(@"IW4QZ183NcvsVJ5tzqYAdUwKTfL"); NSLog(@"xZBRweGvT4MocJ5DkgYqzundh"); NSLog(@"9DlRJZI1rNP0TCiHbQe"); NSLog(@"PX3nDosEYF4yzM758Z0"); NSLog(@"udfbOLH9TXywVIgB"); NSLog(@"12rTSGtNy4osLPVX5EvJkzqd9"); NSLog(@"ko8hWVEQzji52BsPTUZS7cmDKMHa3Ofu94g"); NSLog(@"oKXngDpVWBI5JG031dTZHQv97c8yxlAfiN"); NSLog(@"isVoDuvSlp2wXa5HjkFfb4QLt"); NSLog(@"3KbmsajL5eNSA10fz"); NSLog(@"DaL6luSpxwW3MnbRGmBQZ0XzjIv29VsFHTc1Ke"); NSLog(@"1aDfBpnKqM8t9VSHCy5rUTQdLg4mO0YkxcWv"); NSLog(@"LDfCwNTQ9XExvcIrl0VY3JHAjUz4KPm7dZG21M"); NSLog(@"aRMSqm2XuEdKLwnYlC1jFkycg"); NSLog(@"OFmegzVKnaBT4p3YXjxZ2w"); NSLog(@"8CWZXQTcMrjfdg7enoOSyABPph1ilmKtJNa"); NSLog(@"Gmq481gK9eQ3XFkwUAY2bNBCxsyDvatH"); NSLog(@"hs0puxETcWjILyHMbN2KzUDYOgGniXP6ZF7k3A"); NSLog(@"TSA6VsKJzyvxD7t8e3lapXnUEkbwFqmP5c9ZWMOr"); } @end