- (void)viewDidLoad {
? ? [super viewDidLoad];
? ? self.title = @"掃描設(shè)備二維碼";
?? ?[self.navigationController.navigationBar setBackgroundImage:[UIImage new] forBarMetrics:UIBarMetricsDefault];
? ? [self.navigationController.navigationBar setShadowImage:[UIImage new]];
? ? self.navigationController.navigationBar.translucent = true;
}
- (void)viewWillDisappear:(BOOL)animated {
? ? [super viewWillDisappear:animated];
? ? [self.navigationController.navigationBar setBackgroundImage:nil forBarMetrics:UIBarMetricsDefault];
? ? [self.navigationController.navigationBar setShadowImage:nil];
}