// // AddressBookVC.m // LN_School // // Created by apple on 2017/4/9. // Copyright © 2017年 Danson. All rights reserved. // #import "AddressBookVC.h" @interface AddressBookVC () @end @implementation AddressBookVC - (void)viewDidLoad { [super viewDidLoad]; // Do any additional setup after loading the view. } -(void)viewWillAppear:(BOOL)animated { [super viewWillAppear:animated]; self.whichPage = @"1"; } -(void)viewDidDisappear:(BOOL)animated { [super viewDidDisappear:animated]; self.whichPage = @"2"; } - (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. } */ @end