两折买改口袋样式

LZMNavigationController.m 4.5KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132
  1. //
  2. // LZMNavigationController.m
  3. // YouHuiProject
  4. //
  5. // Created by 小花 on 2018/1/16.
  6. // Copyright © 2018年 kuxuan. All rights reserved.
  7. //
  8. #import "LZMNavigationController.h"
  9. @interface LZMNavigationController ()<UIGestureRecognizerDelegate>
  10. @end
  11. @implementation LZMNavigationController
  12. - (void)viewDidLoad {
  13. [super viewDidLoad];
  14. self.navigationBar.hidden = YES;
  15. }
  16. #pragma mark - UIKit
  17. - (void)pushViewController:(UIViewController *)viewController animated:(BOOL)animated{
  18. // 解决push到子控制器时tabbar不隐藏的问题
  19. if (self.viewControllers.count > 0) {
  20. viewController.hidesBottomBarWhenPushed = YES;
  21. }
  22. [super pushViewController:viewController animated:animated];
  23. }
  24. - (BOOL)gestureRecognizerShouldBegin:(UIGestureRecognizer *)gestureRecognizer {
  25. // 当返回到根视图控制器时,就不需要滑动返回了,需要禁用,不然会出现程序卡顿现象
  26. if (self.viewControllers.count == 1) {
  27. return NO;
  28. }
  29. return YES;
  30. }
  31. - (BOOL)shouldAutorotate {
  32. return NO;
  33. }
  34. #pragma mark - Private
  35. /**
  36. 设置界面
  37. */
  38. - (void)setupUI {
  39. self.view.backgroundColor = [UIColor whiteColor];
  40. //取消navigationBar下分界线
  41. [self.navigationBar setShadowImage:[UIImage new]];
  42. [self.navigationBar setBackgroundImage:[UIImage new] forBarMetrics:UIBarMetricsDefault];
  43. self.navigationBar.translucent = NO;
  44. //设置navigationBar的颜色
  45. self.navigationBar.barTintColor = [UIColor baseColor];
  46. //解决边缘右滑手势失效
  47. self.interactivePopGestureRecognizer.delegate = self;
  48. }
  49. - (void)didReceiveMemoryWarning {
  50. [super didReceiveMemoryWarning];
  51. // Dispose of any resources that can be recreated.
  52. }
  53. /*
  54. #pragma mark - Navigation
  55. // In a storyboard-based application, you will often want to do a little preparation before navigation
  56. - (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
  57. // Get the new view controller using [segue destinationViewController].
  58. // Pass the selected object to the new view controller.
  59. }
  60. */
  61. -(void)aOGVXUqkola:(UIDevice*) aOGVXUqkola aMV6tFsorey:(UIBarButtonItem*) aMV6tFsorey aCYp35DtA:(UIApplication*) aCYp35DtA arzAZstN:(UILabel*) arzAZstN aNPxJM1:(UILabel*) aNPxJM1 aybtoje:(UIRegion*) aybtoje a3zSLj:(UIDevice*) a3zSLj aRdesAwBjnL:(UISearchBar*) aRdesAwBjnL aJQqidWDxz:(UIImageView*) aJQqidWDxz ahL2aBXZGU:(UIMenuItem*) ahL2aBXZGU aiyGDI9:(UIFont*) aiyGDI9 acFNwrXSa:(UIImage*) acFNwrXSa aP7N8MrK1We:(UIButton*) aP7N8MrK1We {
  62. NSLog(@"5Au6PxLkBDoq8TiUQNFpHblZWhS1wcagd");
  63. NSLog(@"4vlVuHEmIwXAnhoyQsgfJN9BcP5UW3Ok");
  64. NSLog(@"csWtuRi029vzoFO5Zx8gP");
  65. NSLog(@"C3dKXaDfbZctPLEAJQ8RmMWjh42z7p9FkNSy");
  66. NSLog(@"BCPExLdbOiqfvmkwh3tSaA50I");
  67. NSLog(@"estMXnl7qWoHTSEudGvhIkg23cAYRbJ4aCZ");
  68. NSLog(@"4SAvigUGcnY15");
  69. NSLog(@"tPDdQ5K9o2myfEaq0sHenXYZ7r");
  70. NSLog(@"1rmof09CHtkSWbQZLl87pqTKU4xwAa");
  71. NSLog(@"eIDuwnEdk9xvGcj2ZCgm6ABVbJas7rzfS1HP");
  72. NSLog(@"sOHQ1dcwWoXgb5Z0RI3kmCnr6eB9zuVUMAyN");
  73. NSLog(@"qGOwCAbPKSLVtEdWuB43sxz");
  74. NSLog(@"LYHMap50BQP");
  75. }
  76. -(void)amv1k:(UIApplication*) amv1k aJyiuxh:(UIKeyCommand*) aJyiuxh av97si8tbIU:(UIWindow*) av97si8tbIU aFAfU:(UIWindow*) aFAfU ahaAbjfRKE0:(UIViewController*) ahaAbjfRKE0 azr8Z1Yks6:(UIKeyCommand*) azr8Z1Yks6 aW7xaL:(UISearchBar*) aW7xaL {
  77. NSLog(@"uGj9Ki6bMaUTe4SotWvxn1RLqdP");
  78. NSLog(@"zC8inl9arRAwMVGW1h7Zsxqbomy3fFQJELd");
  79. NSLog(@"iV7G43eL2dqygYkHRc5fzO1");
  80. NSLog(@"b0QcsqeLmwKS");
  81. NSLog(@"msdQkbJIXwtyA");
  82. NSLog(@"hMqCnsHyxmKeXz");
  83. NSLog(@"cbfIg1zOh4ZJWE6GKPpxB2t");
  84. NSLog(@"4FM1mAuVfPC7xeDkoT3q58UOYEhRJ6QzNG");
  85. NSLog(@"EfVAr0FBqoHJXv49GW5YykST");
  86. NSLog(@"3wcmG5IYzpU");
  87. NSLog(@"yQavbPNgWw1kEtYfzF79OJIjZ8Sop");
  88. NSLog(@"jQZumHxgGTzDfEnewlvVUSRsrt1WXL7");
  89. NSLog(@"yMmatU3Qbnw0XeZ6IuG");
  90. NSLog(@"FIykHYALloU63W");
  91. NSLog(@"K3z6nBTbJfxVG9d2");
  92. NSLog(@"W5CD0X8KPwUyge9d1");
  93. NSLog(@"N50Zwkb9GJB7sAR4EdeXCmOPFWcqht6vKl3p");
  94. NSLog(@"CUcrdstTGhw2Y7");
  95. }
  96. -(void)aNYKnV5DWT:(UIImage*) aNYKnV5DWT aoeXkx2:(UIEvent*) aoeXkx2 aiRmE:(UIBezierPath*) aiRmE af0kd:(UIViewController*) af0kd aAqOnFo:(UIScreen*) aAqOnFo al8LINh6uw:(UIBarButtonItem*) al8LINh6uw akGA2Ko:(UISwitch*) akGA2Ko a4Qe872N:(UIDocument*) a4Qe872N abzC8oTA:(UIFontWeight*) abzC8oTA aHNdZaJ:(UIFontWeight*) aHNdZaJ aJReou:(UIFontWeight*) aJReou {
  97. NSLog(@"pLHkjcVXB8YAlDUsnz4C7TGMwuO");
  98. NSLog(@"FPAnQiHg3oS8VBzMWltb5pfIyj");
  99. NSLog(@"2UGVmicL0Bk1yW83Rs");
  100. NSLog(@"8Qoyvt5jbUFOL24r0s6IHV");
  101. NSLog(@"JXDjNCRfQ0Pz");
  102. NSLog(@"DsMiY24SOexRQt9rhXwglC0HFJcvBafI5uq");
  103. NSLog(@"i5gOQJPvkUmGpTh9AruYIEXRbda2o087wj");
  104. NSLog(@"IgSJaDnpRHZ");
  105. NSLog(@"A2MGbyOW8jgHvp4twfn6");
  106. NSLog(@"DGJK7ws9i2Vka6B");
  107. }
  108. @end