MyViewController.m 802 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. //
  2. // MyViewController.m
  3. // iShop
  4. //
  5. // Created by Rui Zhang on 12/14/23.
  6. //
  7. #import "MyViewController.h"
  8. @interface MyViewController ()
  9. @end
  10. @implementation MyViewController
  11. - (void)viewDidLoad {
  12. [super viewDidLoad];
  13. // Do any additional setup after loading the view.
  14. }
  15. - (void)viewWillAppear:(BOOL)animated
  16. {
  17. [super viewWillAppear:animated];
  18. [[self navigationController] setNavigationBarHidden:NO animated:NO];
  19. }
  20. /*
  21. #pragma mark - Navigation
  22. // In a storyboard-based application, you will often want to do a little preparation before navigation
  23. - (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
  24. // Get the new view controller using [segue destinationViewController].
  25. // Pass the selected object to the new view controller.
  26. }
  27. */
  28. @end