Translate_offine/HDwallpaper/LuxADManager/LuxADSuperVC.m
2024-07-26 16:55:25 +08:00

36 lines
699 B
Objective-C

//
// 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