// // LuxADSuperVC.m // TallPaper // // Created by aaa on 2024/7/26. // #import "LuxADSuperVC.h" #import "LuxADManager.h" @interface LuxADSuperVC () @end @implementation LuxADSuperVC - (void)viewDidLoad { [super viewDidLoad]; } - (void)viewDidAppear:(BOOL)animated { [super viewDidAppear:animated]; if (_adIndex > 0) { __weak typeof(self)weakSelf = self; [[LuxADManager shareInstance] showADWithIndex:_adIndex callback:^(NSInteger actionType) {//关闭ad //... [weakSelf.navigationController popViewControllerAnimated:NO]; }]; } } - (void)viewWillDisappear:(BOOL)animated { [super viewWillDisappear:animated]; } @end