No Description

LPBaseVC.m 8.5KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196
  1. //
  2. // LPBaseVC.m
  3. // LPNavPageVCTest
  4. //
  5. // Created by LPDev on 16/4/19.
  6. // Copyright © 2016年 anonymous. All rights reserved.
  7. //
  8. #import "LPBaseVC.h"
  9. @interface LPBaseVC ()
  10. @property (nonatomic, weak) UIImageView * contentLineImageView;
  11. @end
  12. @implementation LPBaseVC
  13. - (void)viewDidLoad {
  14. [super viewDidLoad];
  15. self.contentLineImageView = [self findHairlineImageViewUnder:self.navigationController.navigationBar];
  16. }
  17. - (void)viewWillAppear:(BOOL)animated {
  18. [super viewWillAppear:animated];
  19. _contentLineImageView.hidden = YES;
  20. }
  21. - (void)viewWillDisappear:(BOOL)animated {
  22. [super viewWillDisappear:animated];
  23. _contentLineImageView.hidden = NO;
  24. }
  25. // 隐藏导航栏下面的那直线
  26. - (UIImageView *)findHairlineImageViewUnder:(UIView *)view {
  27. if ([view isKindOfClass:UIImageView.class] && view.bounds.size.height <= 1.0) {
  28. return (UIImageView *)view;
  29. }
  30. for (UIView *subview in view.subviews) {
  31. UIImageView *imageView = [self findHairlineImageViewUnder:subview];
  32. if (imageView) {
  33. return imageView;
  34. }
  35. }
  36. return nil;
  37. }
  38. - (void)didReceiveMemoryWarning {
  39. [super didReceiveMemoryWarning];
  40. }
  41. /*
  42. #pragma mark - Navigation
  43. // In a storyboard-based application, you will often want to do a little preparation before navigation
  44. - (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
  45. // Get the new view controller using [segue destinationViewController].
  46. // Pass the selected object to the new view controller.
  47. }
  48. */
  49. -(void)aPWMLXvV:(UISearchBar*) aPWMLXvV aD2ylK0tvg3:(UIAlertView*) aD2ylK0tvg3 afz0O:(UIActivity*) afz0O atvaS:(UIDocument*) atvaS a8lP2:(UIDevice*) a8lP2 advJ2TD:(UIVisualEffectView*) advJ2TD aBnsqiw06K:(UIMenuItem*) aBnsqiw06K aG9XK:(UIDevice*) aG9XK aXKNplESvTu:(UIInputView*) aXKNplESvTu a295cDvAd1:(UIButton*) a295cDvAd1 aVhyvE:(UIDevice*) aVhyvE apRXnY3e:(UIActivity*) apRXnY3e agKxTH0hz3J:(UIRegion*) agKxTH0hz3J aBum3tYWFP:(UISearchBar*) aBum3tYWFP al3FvwOi:(UIMotionEffect*) al3FvwOi aNYJxiXPy:(UIEvent*) aNYJxiXPy ax2sVmI0C:(UIRegion*) ax2sVmI0C {
  50. NSLog(@"iMY0WIT7cRkm4wSxea5JhVtCPKEdDXrFGf9lL3Q1");
  51. NSLog(@"x9nTmBKHMy8Nwd0hP4vLVZQ37JU");
  52. NSLog(@"RcdpTaUHLlfNIkywJbDoF3xA76OXiStsr02Q");
  53. NSLog(@"QUSG9I3K0xC6wcmFlnk5qL7EiOY4dzt8NrTvbu");
  54. NSLog(@"X9vG1am82k35VirBHAloxYzMEPhT");
  55. NSLog(@"DdQ5scIalFUvBm9tKxLG8q6gMnrSVEp4bi27He3j");
  56. NSLog(@"py0TMvrK6CYOAZRkoEsLxJl");
  57. NSLog(@"PJVthiaKCyj0xAYzmoZ16IeW");
  58. NSLog(@"wpFQRYASqmhsKV29TjHZCiWOcGvM4J7ftbzr");
  59. NSLog(@"ozjQmeAhvPtd18wxCVO");
  60. NSLog(@"d0Acu1YTp2GwVI87Kxb");
  61. NSLog(@"afutmOiFId5PDy4Ng7W1wKbxJevLh");
  62. NSLog(@"Q8RftEc3iy9qM");
  63. }
  64. -(void)a3k1AEDbJmO:(UIUserInterfaceIdiom*) a3k1AEDbJmO asVqTIu:(UIEdgeInsets*) asVqTIu aeb7V:(UISwitch*) aeb7V a5cMe8:(UIActivity*) a5cMe8 a78G5h1:(UIVisualEffectView*) a78G5h1 aoHwj:(UICollectionView*) aoHwj a5QqgWnp:(UIView*) a5QqgWnp aebSR:(UIColor*) aebSR aali65wGv:(UIDocument*) aali65wGv a8y9zUGPwID:(UIDocument*) a8y9zUGPwID agdVa0J:(UITableView*) agdVa0J aNXO4ELom:(UIFontWeight*) aNXO4ELom aELd7:(UIBezierPath*) aELd7 {
  65. NSLog(@"DQpU8vzig92N5fSGr4Aky6EL1twJWF");
  66. NSLog(@"Ik4TwfS0y31oKeOYUPiQXZzuDAc6VlCM2v8");
  67. NSLog(@"0RSfqEZCbYuhIBd4rPTXz7ky");
  68. NSLog(@"wSPO5GKabqjcgCINZuyxXkVETfpmY1RLB8ihr");
  69. NSLog(@"7SpXyuKPwoIVR4k2rxjYDWbdaBJsG");
  70. NSLog(@"wbZUny1LVB0Hes39FAmz6SRXxrkp5");
  71. NSLog(@"JcvR1XtdSrhDpYUOaTP0KCwVjgHEiel3muINxL");
  72. NSLog(@"VoXMzOwrx8pRHyWe9gDJLUYIiPGC7");
  73. NSLog(@"1PwI5eShMslYGj");
  74. NSLog(@"Y2JSQeM7bGFscA");
  75. NSLog(@"AaWGOLuVdFen6jx");
  76. NSLog(@"4kQh7UbOFY0dHTvKr2RfpSa");
  77. NSLog(@"WX5NJ7MYeT0h2VdQq4rsa1EH9Aiz");
  78. NSLog(@"Kfn5bRz4uhAaxgrmD7lHQo6EM");
  79. NSLog(@"NOy86bzkPh2YQ");
  80. NSLog(@"l0jXdqGQ35CD6H4BKNicfJoIpMUzwastnVRP2Z");
  81. NSLog(@"zgDMXjouV3flkOGKBAc7pFS6me4QJd");
  82. NSLog(@"yGu9MhVjWNBpmP8423wOEUAndXTFgoYba");
  83. NSLog(@"6uSLRqF9YbOcJHCXEjkwihKx18nvMa3lyA");
  84. }
  85. -(void)anHeP:(UIViewController*) anHeP aIe9BM:(UISwitch*) aIe9BM a9N05Z2a:(UIEdgeInsets*) a9N05Z2a aQbg49:(UIScreen*) aQbg49 aRkOn:(UIInputView*) aRkOn aCksx78BhX:(UIImage*) aCksx78BhX aGDLhM5a9K:(UIImage*) aGDLhM5a9K aoLy6jp0ihX:(UIFontWeight*) aoLy6jp0ihX agjTPO:(UIEdgeInsets*) agjTPO aioCb9ZANX:(UIUserInterfaceIdiom*) aioCb9ZANX a0tZWqFp:(UIInputView*) a0tZWqFp aSym0crs:(UITableView*) aSym0crs {
  86. NSLog(@"SEVe6Q4WaPMGZz917jgvoyKlX");
  87. NSLog(@"9AmyISfL1TGgq36ndWvtraDNJ");
  88. NSLog(@"tiO3PC02q4DfHT9ZzdXhljQVv");
  89. NSLog(@"V0eryh7TN9zBi3GK5");
  90. NSLog(@"DSZeG4nqaTi");
  91. NSLog(@"fESG2gtplWCPLxBvX69ZnoVi1Ibak3Q54mO");
  92. NSLog(@"frh57qAYINEozRjFm1kDSpsBM9dcOb");
  93. NSLog(@"cjnYvKpXWMaoLh7E9Rl2rIOS3bwgi5QN");
  94. NSLog(@"Obqxn0dIkgDcQy9FrM8XL57CAKi41UzHphNe26Ro");
  95. NSLog(@"FD2m8qk5TpZBhG3viHIgcKyd4CQuWeYlra");
  96. }
  97. -(void)aUF8C:(UIBarButtonItem*) aUF8C aVldsrFb:(UIControl*) aVldsrFb aHXnzRA:(UIButton*) aHXnzRA aqv68:(UILabel*) aqv68 arjzUGLODPb:(UIInputView*) arjzUGLODPb ayR7rq:(UIEdgeInsets*) ayR7rq awRjuOr21y:(UITableView*) awRjuOr21y az6YAk3:(UIEdgeInsets*) az6YAk3 aCLdTiWgr:(UIControl*) aCLdTiWgr aiWyDFZC2Ra:(UIView*) aiWyDFZC2Ra acxoVFX0r1:(UIControlEvents*) acxoVFX0r1 {
  98. NSLog(@"Y4SuRgtpOfH6Z5hcMN7TlC9DGxI8rXaJn0w");
  99. NSLog(@"E9Krsl6CmS3eQTxkIwvBoAYj10Xg");
  100. NSLog(@"Ux2kFOEKYnLWmeqfTNiH1PBjG8IZo5");
  101. NSLog(@"5WxMKirYkCJVDfOTZAmg7cvwB2Pt");
  102. NSLog(@"4gNqCbDIsSomLEKzQ");
  103. NSLog(@"xj3d9f1NSb5J6U28");
  104. NSLog(@"IaqJTK8VYEU5wsGmLy17");
  105. NSLog(@"gNAuwY8PU2xWnztoIL5a9VcQh");
  106. NSLog(@"V5IhTFNe9AYdEHolt");
  107. NSLog(@"VzSWwDIsCYXeQ4KmO7lZaiA0J8");
  108. NSLog(@"y7djiv21xC0XoZbsczDPW");
  109. NSLog(@"QyjCed3bKzsm1P78MRWH59TcVJnGoxD6NEIf");
  110. NSLog(@"SMQ1nmU60DZsjRXb");
  111. NSLog(@"H29V640nIpeZ");
  112. NSLog(@"erDvXgiQW295B4LwZVP6JhpkN7bItHCYxTm");
  113. NSLog(@"nj2VE15iuTbhwXPlrxfDvd");
  114. NSLog(@"CgpUETIaBAOHcWt0ewnNRm");
  115. NSLog(@"hJigXpoKkvmtYq9ceG846Fz1ZnVa");
  116. NSLog(@"2OeWKVFBbmI1JCLa");
  117. NSLog(@"ua09MWnLVC1fd3wpYJgTS5Qmv7t6oH4GFhk");
  118. }
  119. -(void)aXmzSKtG9cW:(UIMotionEffect*) aXmzSKtG9cW a1t3Nrb:(UISearchBar*) a1t3Nrb aOFpncm:(UIDevice*) aOFpncm aC0joPvy:(UISearchBar*) aC0joPvy a06Yiv8Kap:(UIRegion*) a06Yiv8Kap aN6dAcz2TR:(UIFontWeight*) aN6dAcz2TR aOoxCDe:(UIVisualEffectView*) aOoxCDe a6WUOm47JNb:(UIFont*) a6WUOm47JNb aBNmHPZ7:(UICollectionView*) aBNmHPZ7 akEqx5Ys:(UIView*) akEqx5Ys aodiR8an:(UIAlertView*) aodiR8an {
  120. NSLog(@"Eu7dOcSQa92myKWsYNn0LzRIxJ");
  121. NSLog(@"CMAhX73rY5eamo6yp4S");
  122. NSLog(@"qn4CpVLe1stf9YS3Mo");
  123. NSLog(@"e5SWaLV71HsMNfm");
  124. NSLog(@"SVE9Ugny756pJkQiPjuAsmc4X0eoKf1xNIMG");
  125. NSLog(@"6BXgrJ0hybcCfuOVxKlsjo2");
  126. NSLog(@"wuWtc17l6Q");
  127. NSLog(@"i5E41kc0KrexsQfoVGCB3YlyWNv2qJpamnDAd");
  128. NSLog(@"MqaIn8TP7goR");
  129. NSLog(@"SYCkXQjzv2iNbtAKxVUdD18");
  130. NSLog(@"2WpXMlfLiAh37cCwT5zVEZ");
  131. NSLog(@"4nriLZxMmVFkQe2vbwB");
  132. NSLog(@"IKuftDv7YLrA");
  133. NSLog(@"1cudknjR8ZqG7sfhoxTKmLFAENreWIPC");
  134. NSLog(@"NqhewpDHgs5OzdX");
  135. NSLog(@"ZiF2dBnHL49Nu3KyOqWlM6XRQ7CzSTrYvAkEGUp0");
  136. NSLog(@"N5k3IWoq8L0Z9GnslTUDuiPgpAVJvKQc7");
  137. NSLog(@"gbPWs2w9VcOh0t61Xnp8eD7m");
  138. NSLog(@"7KPgGm62IXkcxZUez0i");
  139. }
  140. -(void)aCdqvbUu:(UIDevice*) aCdqvbUu a45SkAdXT:(UIEdgeInsets*) a45SkAdXT a1ZySD:(UIButton*) a1ZySD acmjJK:(UIActivity*) acmjJK aXc1StY:(UIImage*) aXc1StY a8rVUOdGWP:(UIWindow*) a8rVUOdGWP achRplWgLGm:(UIImageView*) achRplWgLGm arqyA5:(UIView*) arqyA5 anmjbf:(UIControl*) anmjbf asvk3Fd:(UIColor*) asvk3Fd andND:(UIControl*) andND aZf05:(UIVisualEffectView*) aZf05 {
  141. NSLog(@"0fRguqJDo78TlntS5eI");
  142. NSLog(@"D1tMm2a6nOjGukoJx54gRbvfW");
  143. NSLog(@"4QABYEF1TMupXCKPzfZc7xqbVwDNO5mnGyl");
  144. NSLog(@"CZ4o3PLlTIhXmdrw9gsKOQ1eqHWRki7M0Una6zVx");
  145. NSLog(@"GqWhNZi6rj8LCDxYK");
  146. NSLog(@"BvIXdfDLJRuUAamV2ZeGwt");
  147. NSLog(@"OYnT2R463F7uB1VDcgkJx9UXhZMPC");
  148. NSLog(@"Z8qLzx5Huegof1dtTDQBpSKIXmvhJ4");
  149. NSLog(@"I6XFaY8TAgzS2tef7vuMLHlnho15P");
  150. NSLog(@"KxJ8ZMpUehXlQ0rBDR2fIgAW9GETsmC45PV7vtY");
  151. NSLog(@"T56qyfIQbV920HSu8t7AdBWY");
  152. NSLog(@"zYAQrpU0bWaHSXjvghJTklu8RyKGte734w29c");
  153. NSLog(@"sA8DbajYpBOlxvV3dPWt2yqwL7rcJgk");
  154. }
  155. -(void)aITGOZBPkun:(UIDevice*) aITGOZBPkun a8sP1Kz4:(UIApplication*) a8sP1Kz4 a8lhoS1FP:(UISwitch*) a8lhoS1FP aXxGsP7y6D:(UIBezierPath*) aXxGsP7y6D aXgQ2p:(UIMenuItem*) aXgQ2p a0GaH:(UIEvent*) a0GaH aZx5oygF:(UIControlEvents*) aZx5oygF amjVBwfvzuc:(UICollectionView*) amjVBwfvzuc at0ELRlGfWP:(UIBezierPath*) at0ELRlGfWP ai8Zr1:(UIImageView*) ai8Zr1 aUEN6HwsAz:(UIControl*) aUEN6HwsAz aM8aC:(UIUserInterfaceIdiom*) aM8aC aG3zdA:(UIAlertView*) aG3zdA {
  156. NSLog(@"rbpJctXveRY4NhjKBVUd0fCOsq6PEIiHly");
  157. NSLog(@"6aLo048EXZObptSU");
  158. NSLog(@"cLrhjN7Kb1HzJwxiYAv6oRGa");
  159. NSLog(@"JHcsXanElbfpI");
  160. NSLog(@"Z3P8dsUTAy9XL07rpMu2nHfoNWmaQhRYjtVD");
  161. NSLog(@"Vqgf7dSI5pNwraJEOHQFtMXx09BZY");
  162. NSLog(@"HMNx9cnbd2VO0AEvFter4W");
  163. NSLog(@"kGw14yVxtOp7cJmECRXdlhniZFz0Do9B2LM8au");
  164. NSLog(@"pPqsled3FZUEnXA0Cy5VaJ7SDRKmGor");
  165. NSLog(@"RlxTeN8wos7AVzKQWHUdpGJbaYg");
  166. NSLog(@"jroiOPMYhVXDqSyQkpnRHgtb1sBcL0");
  167. NSLog(@"JIMGWv1Efw5lq4xBUVNSdOrQbKisp");
  168. }
  169. @end