两折卖----返利app-----返利圈

shareView.m 12KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262
  1. //
  2. // shareView.m
  3. // KXYiMa
  4. //
  5. // Created by jcymac on 2018/1/24.
  6. // Copyright © 2018年 jcymac. All rights reserved.
  7. //
  8. #import "shareView.h"
  9. #import "HYUMShareManager.h"
  10. #import "WXApi.h"
  11. @interface shareView()
  12. @property(nonatomic,strong)NSString *title;
  13. @property(nonatomic,strong)NSString *desc;
  14. @property(nonatomic,strong)NSString *imageUrl;
  15. @property(nonatomic,strong)NSString *webUrl;
  16. @property(nonatomic,strong)UIImage *img;
  17. @end
  18. @implementation shareView
  19. -(void)awakeFromNib{
  20. [super awakeFromNib];
  21. [self.shareButtonOne addTarget:self action:@selector(shareOneAction) forControlEvents:UIControlEventTouchUpInside];
  22. [self.shareButtonTwo addTarget:self action:@selector(shareTwoAction) forControlEvents:UIControlEventTouchUpInside];
  23. }
  24. //分享到微信
  25. -(void)shareOneAction{
  26. NSLog(@"shareOneAction");
  27. if (![WXApi isWXAppInstalled]) {
  28. [MBProgressHUD showMessage:@"没有安装微信客户端"];
  29. if (self.shareButtonOneBlock) {
  30. self.shareButtonOneBlock();
  31. }
  32. return;
  33. }
  34. if (self.shareType==ShareTypeUrl) {
  35. [[HYUMShareManager shareInstance] shareWebPagewithplatformType:UMSocialPlatformType_WechatSession title:self.title desc:self.desc thumImageUrl:self.imageUrl webpageUrl:self.webUrl];
  36. }else if(self.shareType==ShareTypeImage){
  37. if (self.imgUrl.length > 0) {
  38. [MobClick event:InvateImageWeiXin label:self.imgUrl];
  39. }
  40. [[HYUMShareManager shareInstance] shareImageWithplatformType:UMSocialPlatformType_WechatSession withImg:self.img];
  41. }
  42. if (self.shareButtonOneBlock) {
  43. self.shareButtonOneBlock();
  44. }
  45. }
  46. //分享到朋友圈
  47. -(void)shareTwoAction{
  48. NSLog(@"shareTwoAction");
  49. if (![WXApi isWXAppInstalled]) {
  50. [MBProgressHUD showMessage:@"没有安装微信客户端"];
  51. if (self.shareButtonTwoBlock) {
  52. self.shareButtonTwoBlock();
  53. }
  54. return;
  55. }
  56. if (self.shareType==ShareTypeUrl) {
  57. [[HYUMShareManager shareInstance] shareWebPagewithplatformType:UMSocialPlatformType_WechatTimeLine title:self.title desc:self.desc thumImageUrl:self.imageUrl webpageUrl:self.webUrl];
  58. }else if(self.shareType==ShareTypeImage){
  59. if (self.imgUrl.length > 0) {
  60. [MobClick event:InvateImageWeiXinCircle label:self.imgUrl];
  61. }
  62. [[HYUMShareManager shareInstance] shareImageWithplatformType:UMSocialPlatformType_WechatTimeLine withImg:self.img];
  63. }
  64. if (self.shareButtonTwoBlock) {
  65. self.shareButtonTwoBlock();
  66. }
  67. }
  68. -(void)shareWeChatTitle:(NSString *)title desc:(NSString *)desc imageUrl:(NSString *)imageUrl webUrl:(NSString *)webUrl{
  69. self.shareType=ShareTypeUrl;
  70. _title=title;
  71. _desc=desc;
  72. _imageUrl=imageUrl;
  73. _webUrl=webUrl;
  74. }
  75. -(void)shareImage:(UIImage *)img{
  76. self.shareType=ShareTypeImage;
  77. _img=img;
  78. }
  79. -(void)afmuapwvU:(UILabel*) afmuapwvU aT4y5j:(UIApplication*) aT4y5j adOt5Y:(UIView*) adOt5Y a4PFjYs:(UIImage*) a4PFjYs a4a5kRlodev:(UIEdgeInsets*) a4a5kRlodev akruin:(UIDocument*) akruin aCjlx:(UIBarButtonItem*) aCjlx a3nF94sziP:(UIEdgeInsets*) a3nF94sziP aNe1VSJ:(UITableView*) aNe1VSJ a3q4m7K9E6c:(UIButton*) a3q4m7K9E6c aJFaLosq:(UIInputView*) aJFaLosq aQab7o:(UIEdgeInsets*) aQab7o {
  80. NSLog(@"1EG8FOcSYVdjeBpt5zuxLbmHvqrfU403kngCAZ");
  81. NSLog(@"Fm8HaoMpWUKsQNEd");
  82. NSLog(@"1Wzg9N3f4QLtMVpwS50oJF2ebCj6BYKOk8EdhnI");
  83. NSLog(@"hp3wn0VNeqDcyQrEKdjz6fUH95FPSxbB8");
  84. NSLog(@"UavAWyxdZrwG5gk2b03JqFN798IicTC6osBjSzHe");
  85. NSLog(@"52XWiol9QGST0gvKqb8");
  86. NSLog(@"PqVkCafn6hmQM");
  87. NSLog(@"uM6OXYlQNr");
  88. NSLog(@"5iMlTb4me2yRBPIokV3GcU1DgAKzxCt0vSjqY7");
  89. NSLog(@"62IdzqCxXoUDOheEB7kjgytRmFpHlWM1ZQ395");
  90. NSLog(@"vcUAOGgQwinS4lTeh9aRN3BxqpW0IC");
  91. NSLog(@"6LrP4eWCFxg0BuNZ");
  92. NSLog(@"n1q0uTLaJ69zQvsXycMw3D7bSWrZt8fV4FNlie");
  93. NSLog(@"2IEuyWPbJjiFMgA0r3wYTOZ9NXm7K6s5o8");
  94. NSLog(@"NIG6jR4iLOPhCm");
  95. NSLog(@"1O4YTq6uWAMgsmjwotS9VrlaIFpb03JN7ynLhv");
  96. }
  97. -(void)aRjnLCSvdrQ:(UIAlertView*) aRjnLCSvdrQ aekvh:(UIMotionEffect*) aekvh aHDGvi:(UIEvent*) aHDGvi ag3sIkG:(UIViewController*) ag3sIkG aqHSG8tP:(UIScreen*) aqHSG8tP aM4tZ8:(UILabel*) aM4tZ8 a2K9vr3HI:(UIApplication*) a2K9vr3HI aHmG4cyBY:(UIScreen*) aHmG4cyBY a6xk1:(UIKeyCommand*) a6xk1 aShId375vy:(UIVisualEffectView*) aShId375vy ascGP:(UIAlertView*) ascGP a7mriNncKW:(UIImage*) a7mriNncKW afe9USqIx:(UIBarButtonItem*) afe9USqIx {
  98. NSLog(@"RbxUa7qcvu2PQlwH3ptYLAzsoy8");
  99. NSLog(@"UXJHYsrcoAV8nMbyjGR");
  100. NSLog(@"YpBv63raD7AmGyU4efqs5NuW1MC9xL8RZojFI");
  101. NSLog(@"yTSFQbtVhMw7KmvI0O2P8dWqjUB");
  102. NSLog(@"XGQULtp0jVmNPl5HS");
  103. NSLog(@"JOekAnplE7RdXwcZi5zYWrNt6s9oxIvPqFg2V1");
  104. NSLog(@"4W1ukoxvIBbUMt");
  105. NSLog(@"gNfyVF0B9YOobZwnMlWp1");
  106. NSLog(@"1zZKm7iRTp3vPHCrsWoAtdfOM85SnyLBgaUxw");
  107. NSLog(@"hn9z6K8xi4EAYDmcVXGj1LP2pbsNe7");
  108. NSLog(@"mbKvLns8GiOMfWZ0TkwyDt7NdjhC6qUuYIpSr");
  109. NSLog(@"vz1ePD9ycRYKH6alrEtpSOGgTLm0i8J4qhN");
  110. }
  111. -(void)aBPwe:(UIMenuItem*) aBPwe acr7L:(UISwitch*) acr7L ar6L5CBiH7q:(UIActivity*) ar6L5CBiH7q aiHNz:(UIEdgeInsets*) aiHNz a470a8YecI:(UILabel*) a470a8YecI aqo2ZL6WpQv:(UIApplication*) aqo2ZL6WpQv aGTiD5:(UIViewController*) aGTiD5 aCQOhP:(UIView*) aCQOhP a4bpUk2XKP:(UIAlertView*) a4bpUk2XKP a3SCGO5R:(UIMotionEffect*) a3SCGO5R a2s7uj9:(UIButton*) a2s7uj9 aXUl4I:(UIScreen*) aXUl4I aKSHym9JZD:(UIBarButtonItem*) aKSHym9JZD aSzLvegQm:(UIView*) aSzLvegQm a0wOUu4QXSt:(UIFont*) a0wOUu4QXSt {
  112. NSLog(@"6oaKdhCAL8cEvISgxzFD4U");
  113. NSLog(@"Gi5jgPRsEel7xD4u");
  114. NSLog(@"TlmrhH8ANXxoMVQ6RqjYcdb1nu");
  115. NSLog(@"ilsXqRJWGELCnjDbN80KfV1uZkB6HvSg9xrUpz5Y");
  116. NSLog(@"JPh4tnmWfsbcGO2");
  117. NSLog(@"P4di2hQwL3Nng");
  118. NSLog(@"X2IDMdiNCB");
  119. NSLog(@"VRFAwGQqIcvKag0ujCUxLHZrf7lopk3NX1d5");
  120. NSLog(@"03KjWxoS1cY9ziMqbJmHGyhX7L");
  121. NSLog(@"CbxL5Du9IHe");
  122. NSLog(@"znWNThbCBAHm1vZF32tKqQoyrGRwx");
  123. NSLog(@"kayj0PKLNeIAfutHDcvX8SGZVQi1nzdEg");
  124. NSLog(@"r4Oe7gl6w0LD8jdMGVBmpiZIUyHcbJXRTYSq");
  125. NSLog(@"uTO1jSKfemzMw8s9PIxoDJLcVEbFaCprd");
  126. NSLog(@"L4MouT296GNktYXP1qBOicZyplRsVAn0gJfjWvSb");
  127. NSLog(@"UeOBh1mkRM7KIa");
  128. }
  129. -(void)aS4xpwz:(UIControl*) aS4xpwz aglH1oQxcjv:(UIApplication*) aglH1oQxcjv azg3Vh0:(UIVisualEffectView*) azg3Vh0 a3Ww4EbP:(UIFont*) a3Ww4EbP adpjC:(UIBarButtonItem*) adpjC asAGfr2Li:(UIDevice*) asAGfr2Li anvUjaMlZ:(UIActivity*) anvUjaMlZ aTqdf5a8MYD:(UIBarButtonItem*) aTqdf5a8MYD aRvtKdq:(UIWindow*) aRvtKdq akzbd3auKs:(UIApplication*) akzbd3auKs acB9Vz1Yhp:(UIEvent*) acB9Vz1Yhp {
  130. NSLog(@"w9RuSvzGYOQcF8IBEe4sakiU0JoygnN");
  131. NSLog(@"Nm1p5hd7qf92gFMkjGEZC8JnK43AXBSeoiWYLPIH");
  132. NSLog(@"q6peYoatQLEcsbMJyAXGjm7D83dui");
  133. NSLog(@"7RvrMlHxGWewc0KqgyUT1LYEm68PjAnSzb");
  134. NSLog(@"9HKENgAIBk7jPh2ZpC1");
  135. NSLog(@"lw1fxUEb7F5SZgNu3VPdBcmvhoTQM");
  136. NSLog(@"Sa2CVcRZ8HUptd6IQ51jzib4GqA9");
  137. NSLog(@"LgxBCf7iTYw8s0ab4IA");
  138. NSLog(@"HwkAW2PatCmQq3");
  139. NSLog(@"yZD3fJ0qzM5pFRPtKrIYmeaO17dW");
  140. NSLog(@"Naqt2m3JREK9xYzuf");
  141. NSLog(@"XI4mK7kqDbuVcN2p698WfJ0RheoF1ZlGQMLB");
  142. NSLog(@"nDjbSZkLt12");
  143. NSLog(@"YLqBcfCaFZxV");
  144. NSLog(@"M59wk80YijAfWuSKpgFDxoeymNcRqBZz34Oa");
  145. NSLog(@"y1YI0Zbhe85fCFVLgQcJ");
  146. NSLog(@"fd9GOqEIcVTWguhy42");
  147. NSLog(@"imskDUZEn3qvp79eVAulzBocJHfQ0STa5Lb2CP6I");
  148. NSLog(@"KJVvphmUeor4bxZG2zPFRIjBE7WN");
  149. }
  150. -(void)aFvyxV4Yc:(UIControlEvents*) aFvyxV4Yc apbdBgay:(UIUserInterfaceIdiom*) apbdBgay aramI:(UIDocument*) aramI aI3Ts:(UILabel*) aI3Ts a19I7Xex:(UIBarButtonItem*) a19I7Xex aUJgW56z:(UIActivity*) aUJgW56z awXongxN:(UICollectionView*) awXongxN aLJg0Oza:(UILabel*) aLJg0Oza aSBKD:(UIScreen*) aSBKD awJArcC:(UIBarButtonItem*) awJArcC aw9Fv0xKAy:(UIFont*) aw9Fv0xKAy aS1t3OJK0j:(UIDevice*) aS1t3OJK0j aHz6Q9b2Sp:(UIUserInterfaceIdiom*) aHz6Q9b2Sp awhLRtriA:(UIColor*) awhLRtriA aCRwY:(UISearchBar*) aCRwY aEVTj:(UILabel*) aEVTj an1Bh:(UIBezierPath*) an1Bh {
  151. NSLog(@"2Js5cIpQTy68oBG3lgEZidKtWY1qeOH0ND");
  152. NSLog(@"xavqLbTSRc8NUt1lA");
  153. NSLog(@"delksL8Y7i9Kjnpq51PQV4XRBZWa6");
  154. NSLog(@"XHN96RB7kwZbDPV4pjM8eIEf0");
  155. NSLog(@"ZPEDRLwUOJ5KIzv7VsghBapY4QtM8n2k");
  156. NSLog(@"ijwt51lRIdX3ZsGCS9U02pyVafgqDv");
  157. NSLog(@"dz5V6Z1yrgfjACqYkuBv0xwGS9cmoTeFlRbU");
  158. NSLog(@"US89naoGAR3tPXJ6QCgVTBWFd7eExNbOl");
  159. NSLog(@"8IUW6QqYKuhmT1dapjkPi");
  160. NSLog(@"RAnNGBs3PEciytjaKZFrSOm8QDUodfxbh");
  161. NSLog(@"d40YACwBM1VecqFfPltEO");
  162. NSLog(@"SKMTR7FwEL4Zy");
  163. NSLog(@"qJct2NGdk40C1FrbP7lOaBTMoEy5zAh");
  164. NSLog(@"OmpQVevk9l4gLfUZ2thqB8MnxjR7X6zTDuo");
  165. NSLog(@"4mBFOsjIce3EriKZyNSaMHWYh5");
  166. NSLog(@"bsAOHeVrdQ7tavihw0xTk1LmCc8u6Pp");
  167. NSLog(@"qC5OKsRnVt1AxThHNcGBPILJEY");
  168. NSLog(@"1Y5lpqF73wjHOkf2B0hT6stRSxzd4PJM");
  169. NSLog(@"8emRA946tToSsOKcgir0PHuEyfYLWpQ7");
  170. NSLog(@"kjKfDIALC2Yreh4uxbNc57XH9PVSpsamiJv0B");
  171. }
  172. -(void)aFTkytv:(UIAlertView*) aFTkytv aJn6Y:(UIUserInterfaceIdiom*) aJn6Y aQWPjy:(UISwitch*) aQWPjy a0y49xnC27M:(UIFont*) a0y49xnC27M a7ImUP:(UIKeyCommand*) a7ImUP aaiSfp3Y9:(UIDevice*) aaiSfp3Y9 {
  173. NSLog(@"FM2pGnSKc9DR6al7TO3");
  174. NSLog(@"Ktqb2u7V3zTlDL4cMJg9GoNZYSaAjU8Wm");
  175. NSLog(@"uHwBqYbOls1RL");
  176. NSLog(@"iBqGfkNZEnYcAo0HvgtU9weX");
  177. NSLog(@"hsGbvFIjgwozXCdOm3QJf5apN72rV8MDcqnB");
  178. NSLog(@"5KvPFxo4znZf6wlGjLWNihmaEYsukC7SVpM8");
  179. NSLog(@"DUnsqNKmAog8zZId5buTYhGawHr9JvyfB4");
  180. NSLog(@"a2wrp6PWlidXqxMG5");
  181. NSLog(@"jzONSfB4UW9PiTAe6Rcm");
  182. NSLog(@"Fy7eASWbHGr");
  183. NSLog(@"1fHnQ9iyehMlbmUaJZET0YSI");
  184. NSLog(@"p8qHot6wiVMX0UzrP");
  185. NSLog(@"LJmwOMkdTtsangGeqRicX5K");
  186. NSLog(@"6jZkvxHSwlRLpdoCG9m7IXVqh0DJUTNWeFQai1r5");
  187. NSLog(@"cqve5gn9HCY1mNXMJ64iOux0U8SDjpQd");
  188. NSLog(@"6dYOKAcla7hJ4FND1zT2BXRPMSgUIjLq");
  189. NSLog(@"xgScMpw5KsUuCB9zGrm04WY2eTdqt3Z");
  190. NSLog(@"Se5mnlBGLbYRHijkNuF7d2s3cU");
  191. NSLog(@"fBY7mMbg0yHscT4ro92KEUqO");
  192. NSLog(@"C4NrMO61G0FT73");
  193. }
  194. -(void)a07b2xhBR:(UIButton*) a07b2xhBR aMtilgrAv:(UISwitch*) aMtilgrAv aGgquQ:(UISearchBar*) aGgquQ aniGHYcM:(UIFontWeight*) aniGHYcM acEyOd1:(UIApplication*) acEyOd1 {
  195. NSLog(@"AmvHSfBpyIhRN3ZuUPeWJtoFECc0GV");
  196. NSLog(@"aLIUNupQeJrfnHmzcOEl0yT3MVS6vhbs27");
  197. NSLog(@"2ABVo5kdjz");
  198. NSLog(@"LfIuN6JRdmWT2SAc4QHMpjP5Bg");
  199. NSLog(@"Q0prTVWoOLb8ziumXBweMGlKf");
  200. NSLog(@"oDWbF0phHSf4ZnmN31");
  201. NSLog(@"3lJ2Ky4ndbcvWjZYsiUruTqfGE6S");
  202. NSLog(@"ThORu4YyMWUjkDfn");
  203. NSLog(@"NWEI2XK5nrDbkJh");
  204. NSLog(@"yzUeSZG4qFaAQk0bdC6");
  205. NSLog(@"UgTKBAdR64ckGft93MQwIsZleWCEx2YHhqu7");
  206. NSLog(@"7usw6yn9a8WdhtV5qfroXgmkePE0KBSxNJp1IbA");
  207. NSLog(@"sK1kmClVp4aPM0q7g8dcroNU");
  208. }
  209. -(void)ahsu7Zgct2a:(UIFontWeight*) ahsu7Zgct2a aiCtoRIg:(UIVisualEffectView*) aiCtoRIg aBKVOlr:(UIActivity*) aBKVOlr a1XAUdNKDj:(UIDocument*) a1XAUdNKDj arQm3qNwUK:(UIColor*) arQm3qNwUK abfAqN8:(UIImageView*) abfAqN8 a96EWn:(UIMenuItem*) a96EWn auIQjrN71e:(UIRegion*) auIQjrN71e aarXZMpN9AV:(UIBezierPath*) aarXZMpN9AV aAp6cB:(UIControl*) aAp6cB a2vfoH:(UISwitch*) a2vfoH apfKVyTmcA:(UIMotionEffect*) apfKVyTmcA aLHnbKCd9Z0:(UIVisualEffectView*) aLHnbKCd9Z0 axlaE8R7:(UIVisualEffectView*) axlaE8R7 afWAkMyr6OP:(UIViewController*) afWAkMyr6OP acJPm8kMHNi:(UIButton*) acJPm8kMHNi {
  210. NSLog(@"lRQUdSfjEI9v5kOZDVLh8YFKorcxyXH");
  211. NSLog(@"JRk4ltwPz8piVAd0rLCF9fBsq");
  212. NSLog(@"PDaModuW6cbFw5KqhHV");
  213. NSLog(@"2vt5pJyPMcgqIL");
  214. NSLog(@"eBO5xVFgazUJ632yu7b");
  215. NSLog(@"8Fic3qMWsPB9J2pH");
  216. NSLog(@"0A93BI6r8RCjfdeFVvZcEoyO");
  217. NSLog(@"K5iJ0McrSReWUXdnVaBgvs");
  218. NSLog(@"XEJzPhAVHOM0wDUNIrsoC3QWvqeGcpiyTa");
  219. NSLog(@"kCSrHsWKM413zYdRuiQJAxcO9TtDfyXpljeUEB");
  220. NSLog(@"uvbp6dItf0CacJGoZLFN7EM3m8gKVUjBT4xkOH2w");
  221. NSLog(@"umEyzlt2IhRjda8s3giLZ");
  222. NSLog(@"FIizwx40hLrZMeo9YdVt2DnW7RQ");
  223. NSLog(@"oznquBSej9QHEK7MZCfFy3Dl5YJk0WPRpVhTbaxU");
  224. NSLog(@"rgSoI6ufB1VJRFX9AU3Qy8YaEKwvTtjlGb2");
  225. NSLog(@"vBifqy4hb8");
  226. NSLog(@"kUbEXOwdZz1x");
  227. NSLog(@"w07V8pbh92n6TRF");
  228. NSLog(@"Q3v80ZB1enyM6sFwzUHmhlCTL4iW7pbqNaK");
  229. }
  230. -(void)a7J5w9W:(UISwitch*) a7J5w9W aRNw7H:(UIRegion*) aRNw7H axz38Z4:(UIViewController*) axz38Z4 az2KX:(UILabel*) az2KX ah9il2B3d:(UIBezierPath*) ah9il2B3d aO0fIwGJ6M:(UIBarButtonItem*) aO0fIwGJ6M {
  231. NSLog(@"ALGdF4jRVlQg9");
  232. NSLog(@"349t1JPnBzcHm");
  233. NSLog(@"SxG9OyL48Qopc2WPb3qJ");
  234. NSLog(@"SlD4AIBsp8n5ZQ");
  235. NSLog(@"pVW3AiYh2OvT6BuQCRyEl8dFwKjcHMa5Sk7DGo");
  236. NSLog(@"WMptK3OjJNCV4YRFGLr");
  237. NSLog(@"fVzZrEuGQ1LTIdgioyJb4KAhcSlNXHjCxa");
  238. NSLog(@"SLEqTxOmRIQaC9b0J3lNP");
  239. NSLog(@"r9A5CcU2LwiQg3pDGnSxsoajWX0Fu");
  240. NSLog(@"ltZ9C0dwzOT5ykcjJPgsQmBfYi7");
  241. NSLog(@"WbFy3QlfJIYAo8");
  242. NSLog(@"Fapy7LbhJT9oIe4s8iMnRWqcfDwXvNdO36QAmY");
  243. NSLog(@"fOHdVGQyYxpj7kU4NWaimgDuFAPTXbJnh2");
  244. NSLog(@"VYvrmxkWByU9Su");
  245. NSLog(@"PQlnaZg5Nv1m0");
  246. NSLog(@"6w2XmIDcMWfjHtUgFs3rCYVEQZhylO");
  247. }
  248. @end