123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051 |
- //
- // DepartureController.m
- // smartRhino
- //
- // Created by Android on 2020/1/18.
- // Copyright © 2020 tederen. All rights reserved.
- //
- #import "DepartureController.h"
- #import "DrawerView.h"
- @interface DepartureController ()
- @end
- @implementation DepartureController
- - (void)viewDidLoad {
- [super viewDidLoad];
- self.fd_prefersNavigationBarHidden = YES;
- }
- -(void)back{
- if (self.navigationController.viewControllers.count > 1) {
- [self.navigationController popViewControllerAnimated:YES];
- }else{
- [self dismissViewControllerAnimated:YES completion:nil];
- }
- }
- - (void)secondBarButtonItems{
- DrawerView *vi = [[DrawerView alloc] initWithFrame:self.view.bounds];
- [self.view addSubview:vi];
- }
- - (void)backButtonAction{
- [self secondBarButtonItems];
- }
- /*
- #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.
- }
- */
- @end
|