AddressBookVC.m 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. //
  2. // AddressBookVC.m
  3. // LN_School
  4. //
  5. // Created by apple on 2017/4/9.
  6. // Copyright © 2017年 Danson. All rights reserved.
  7. //
  8. #import "AddressBookVC.h"
  9. @interface AddressBookVC ()
  10. @end
  11. @implementation AddressBookVC
  12. - (void)viewDidLoad {
  13. [super viewDidLoad];
  14. // Do any additional setup after loading the view.
  15. }
  16. -(void)viewWillAppear:(BOOL)animated
  17. {
  18. [super viewWillAppear:animated];
  19. self.whichPage = @"1";
  20. }
  21. -(void)viewDidDisappear:(BOOL)animated
  22. {
  23. [super viewDidDisappear:animated];
  24. self.whichPage = @"2";
  25. }
  26. - (void)didReceiveMemoryWarning {
  27. [super didReceiveMemoryWarning];
  28. // Dispose of any resources that can be recreated.
  29. }
  30. /*
  31. #pragma mark - Navigation
  32. // In a storyboard-based application, you will often want to do a little preparation before navigation
  33. - (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
  34. // Get the new view controller using [segue destinationViewController].
  35. // Pass the selected object to the new view controller.
  36. }
  37. */
  38. @end