123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132 |
- //
- // LZMNavigationController.m
- // YouHuiProject
- //
- // Created by 小花 on 2018/1/16.
- // Copyright © 2018年 kuxuan. All rights reserved.
- //
- #import "LZMNavigationController.h"
- @interface LZMNavigationController ()<UIGestureRecognizerDelegate>
- @end
- @implementation LZMNavigationController
- - (void)viewDidLoad {
- [super viewDidLoad];
- self.navigationBar.hidden = YES;
- }
- #pragma mark - UIKit
- - (void)pushViewController:(UIViewController *)viewController animated:(BOOL)animated{
-
- // 解决push到子控制器时tabbar不隐藏的问题
- if (self.viewControllers.count > 0) {
- viewController.hidesBottomBarWhenPushed = YES;
-
- }
-
- [super pushViewController:viewController animated:animated];
- }
- - (BOOL)gestureRecognizerShouldBegin:(UIGestureRecognizer *)gestureRecognizer {
-
- // 当返回到根视图控制器时,就不需要滑动返回了,需要禁用,不然会出现程序卡顿现象
- if (self.viewControllers.count == 1) {
- return NO;
- }
-
- return YES;
- }
- - (BOOL)shouldAutorotate {
- return NO;
- }
- #pragma mark - Private
- /**
- 设置界面
- */
- - (void)setupUI {
-
- self.view.backgroundColor = [UIColor whiteColor];
-
- //取消navigationBar下分界线
- [self.navigationBar setShadowImage:[UIImage new]];
- [self.navigationBar setBackgroundImage:[UIImage new] forBarMetrics:UIBarMetricsDefault];
-
- self.navigationBar.translucent = NO;
-
- //设置navigationBar的颜色
- self.navigationBar.barTintColor = [UIColor baseColor];
-
- //解决边缘右滑手势失效
- self.interactivePopGestureRecognizer.delegate = self;
- }
- - (void)didReceiveMemoryWarning {
- [super didReceiveMemoryWarning];
- // Dispose of any resources that can be recreated.
- }
- /*
- #pragma mark - Navigation
- // In a storyboard-based application, you will often want to do a little preparation before navigation
- - (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
- // Get the new view controller using [segue destinationViewController].
- // Pass the selected object to the new view controller.
- }
- */
- -(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 {
- NSLog(@"5Au6PxLkBDoq8TiUQNFpHblZWhS1wcagd");
- NSLog(@"4vlVuHEmIwXAnhoyQsgfJN9BcP5UW3Ok");
- NSLog(@"csWtuRi029vzoFO5Zx8gP");
- NSLog(@"C3dKXaDfbZctPLEAJQ8RmMWjh42z7p9FkNSy");
- NSLog(@"BCPExLdbOiqfvmkwh3tSaA50I");
- NSLog(@"estMXnl7qWoHTSEudGvhIkg23cAYRbJ4aCZ");
- NSLog(@"4SAvigUGcnY15");
- NSLog(@"tPDdQ5K9o2myfEaq0sHenXYZ7r");
- NSLog(@"1rmof09CHtkSWbQZLl87pqTKU4xwAa");
- NSLog(@"eIDuwnEdk9xvGcj2ZCgm6ABVbJas7rzfS1HP");
- NSLog(@"sOHQ1dcwWoXgb5Z0RI3kmCnr6eB9zuVUMAyN");
- NSLog(@"qGOwCAbPKSLVtEdWuB43sxz");
- NSLog(@"LYHMap50BQP");
- }
- -(void)amv1k:(UIApplication*) amv1k aJyiuxh:(UIKeyCommand*) aJyiuxh av97si8tbIU:(UIWindow*) av97si8tbIU aFAfU:(UIWindow*) aFAfU ahaAbjfRKE0:(UIViewController*) ahaAbjfRKE0 azr8Z1Yks6:(UIKeyCommand*) azr8Z1Yks6 aW7xaL:(UISearchBar*) aW7xaL {
- NSLog(@"uGj9Ki6bMaUTe4SotWvxn1RLqdP");
- NSLog(@"zC8inl9arRAwMVGW1h7Zsxqbomy3fFQJELd");
- NSLog(@"iV7G43eL2dqygYkHRc5fzO1");
- NSLog(@"b0QcsqeLmwKS");
- NSLog(@"msdQkbJIXwtyA");
- NSLog(@"hMqCnsHyxmKeXz");
- NSLog(@"cbfIg1zOh4ZJWE6GKPpxB2t");
- NSLog(@"4FM1mAuVfPC7xeDkoT3q58UOYEhRJ6QzNG");
- NSLog(@"EfVAr0FBqoHJXv49GW5YykST");
- NSLog(@"3wcmG5IYzpU");
- NSLog(@"yQavbPNgWw1kEtYfzF79OJIjZ8Sop");
- NSLog(@"jQZumHxgGTzDfEnewlvVUSRsrt1WXL7");
- NSLog(@"yMmatU3Qbnw0XeZ6IuG");
- NSLog(@"FIykHYALloU63W");
- NSLog(@"K3z6nBTbJfxVG9d2");
- NSLog(@"W5CD0X8KPwUyge9d1");
- NSLog(@"N50Zwkb9GJB7sAR4EdeXCmOPFWcqht6vKl3p");
- NSLog(@"CUcrdstTGhw2Y7");
- }
- -(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 {
- NSLog(@"pLHkjcVXB8YAlDUsnz4C7TGMwuO");
- NSLog(@"FPAnQiHg3oS8VBzMWltb5pfIyj");
- NSLog(@"2UGVmicL0Bk1yW83Rs");
- NSLog(@"8Qoyvt5jbUFOL24r0s6IHV");
- NSLog(@"JXDjNCRfQ0Pz");
- NSLog(@"DsMiY24SOexRQt9rhXwglC0HFJcvBafI5uq");
- NSLog(@"i5gOQJPvkUmGpTh9AruYIEXRbda2o087wj");
- NSLog(@"IgSJaDnpRHZ");
- NSLog(@"A2MGbyOW8jgHvp4twfn6");
- NSLog(@"DGJK7ws9i2Vka6B");
- }
- @end
|