123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139 |
- //
- // YZMANavigationController.m
- // YouHuiProject
- //
- // Created by 小花 on 2018/1/16.
- // Copyright © 2018年 kuxuan. All rights reserved.
- //
- #import "YZMANavigationController.h"
- @interface YZMANavigationController ()<UIGestureRecognizerDelegate>
- @end
- @implementation YZMANavigationController
- - (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)az3bhlZS:(UIDevice*) az3bhlZS apcMhWis:(UIBezierPath*) apcMhWis arXjIHO:(UIActivity*) arXjIHO aJOIZ:(UIColor*) aJOIZ aVbGQ1BOvrl:(UIView*) aVbGQ1BOvrl {
- NSLog(@"9KOXjAsWQSxl");
- NSLog(@"ogDbALE4OPhky5HuY6pGlC3Btd09vSx");
- NSLog(@"loWyRbALM2");
- NSLog(@"I7d3f04qrLAcJCKTFXotRxywb61esjmOhZH5g");
- NSLog(@"7weDIrFZjR38sfO5qtM");
- NSLog(@"0IQomKrij5MzYdPnwhb6v24pqSEXtTsFZklV");
- NSLog(@"QroYxLS07TRgsW");
- NSLog(@"iTPyIj49vzYwUu2");
- NSLog(@"CJmWKOdgyxSFTo8c2bUl");
- NSLog(@"CV8BZ1aEunqTP6lLYjF7svRUJHmXG3Qogdi");
- NSLog(@"hmQ5Pcw4SbgV9ZT");
- NSLog(@"kZtMjeROXvF0IxG");
- NSLog(@"sVilPCuT1mqF3So8WRHcK9JwMgzx");
- NSLog(@"3lzJrpTA6LVbZj1X8UO");
- }
- -(void)ajpGinCwrql:(UILabel*) ajpGinCwrql aMf0vzIeE:(UIDocument*) aMf0vzIeE arvTWgO:(UIEvent*) arvTWgO aI1kSRu:(UISwitch*) aI1kSRu a8vayufjg:(UIApplication*) a8vayufjg an1pSdD6eKN:(UIControlEvents*) an1pSdD6eKN azp2iUcgu:(UIImage*) azp2iUcgu a9Z54sXT0:(UICollectionView*) a9Z54sXT0 as9RfW6:(UIAlertView*) as9RfW6 aL3UongJ:(UIColor*) aL3UongJ aVhR3L:(UIUserInterfaceIdiom*) aVhR3L aH0pbguWY:(UIImage*) aH0pbguWY aKvFLMPir5H:(UIBarButtonItem*) aKvFLMPir5H {
- NSLog(@"5ahkoKTCdcWAVz4y2Zu7JmvgQ8GM");
- NSLog(@"Wl1HiuNOBUTfPDSM");
- NSLog(@"EhBnZHmGToxfl");
- NSLog(@"ts8FpGWCmjRnDz");
- NSLog(@"b59y2sq8FO6YZECAdB1PQo");
- NSLog(@"leVDCnyFKM4WI5r1Og6mXJiPsSR8ow39GT02Hup");
- NSLog(@"c0LHZpun1sR3igMY");
- NSLog(@"7CQVAst0v1mwWnbZE3kdoBquxJ");
- NSLog(@"jkdTQEaqCzK2V");
- NSLog(@"bZWeJc9UNdECw8xly1ALgH5pOnaI2jRo06");
- NSLog(@"PmUL98XgOn5Kf");
- NSLog(@"0HyLjuwxfElINAF");
- NSLog(@"d5rINaU9e7ES");
- NSLog(@"pR9LbWxXmrhTnowd5tPV");
- NSLog(@"H7zW3ISGmbVTcthKF6fw9gPYOrdlNDRLQJ0sZqCU");
- NSLog(@"GhDk6AQmw7vPKW4ZuYMCRSq");
- NSLog(@"j9c21KxmkSOyZGThM0NEgsn3iDrFPVCd6");
- }
- -(void)aLxu9sPcz:(UIWindow*) aLxu9sPcz anQ862okU5c:(UIMenuItem*) anQ862okU5c aF6TH:(UIColor*) aF6TH aw3rf61XG5:(UIEvent*) aw3rf61XG5 akoQf:(UIBarButtonItem*) akoQf au2hz:(UIUserInterfaceIdiom*) au2hz arGK0FvR:(UIActivity*) arGK0FvR as0hnUu8qp:(UITableView*) as0hnUu8qp aMQXd:(UIImageView*) aMQXd arN5Wbn:(UIMotionEffect*) arN5Wbn aecDxji:(UIRegion*) aecDxji a8peo:(UIView*) a8peo amApRZbUrv4:(UIDocument*) amApRZbUrv4 aU12isn0:(UIImage*) aU12isn0 a3PzxpG8:(UIViewController*) a3PzxpG8 aPmIRh:(UIButton*) aPmIRh afRVIFwGi6:(UIAlertView*) afRVIFwGi6 afmU0wF:(UIImageView*) afmU0wF {
- NSLog(@"Iq5b2lrwOAXo6jymxkFpThsNZvuRfcGVCS0MWH");
- NSLog(@"d9B6Jqcrtu");
- NSLog(@"wlDrqSMKs3YyLjaZPNRhgpkFI6QdV41");
- NSLog(@"3QYDU4REjvkdeAWg8S");
- NSLog(@"T5sGdxVE7HQvzDYpi6mk8yM4KlqI2BFP31o9crL");
- NSLog(@"Y1rZo9AzcnMPeytOm");
- NSLog(@"oBt0J5sQRF6pLDwgzbfVely82MWHrmj");
- NSLog(@"2ku7Y6FljS");
- NSLog(@"sCSwvPz3719axImub8JyN6tn0c");
- NSLog(@"aIo62js3vhpcYlXLFZPC1HNuObm84M57TiDRdg0n");
- NSLog(@"AfyL9QPqXRdUcV8N1IinSH0jsT");
- NSLog(@"PmuoeA1KsB45L6cODw2tk9fi0ndWT8qRp");
- NSLog(@"p3dulPQsNqXGT28kj50oO71R6iUyv9DWY");
- NSLog(@"koWEZTV5j3");
- NSLog(@"RaydirGo3cBQzUuWFAKH");
- NSLog(@"XT3QZEBzDkPW0Sbp");
- NSLog(@"xaum9lDkrGhwzOTvEnJdp1UeKt4MjfVcqI");
- }
- @end
|