Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

根控制器中有弹窗,点击广告进入广告页面之后会显示弹窗,有好的解决方案吗 #266

Open
devintangbohu opened this issue Aug 22, 2023 · 0 comments

Comments

@devintangbohu
Copy link

demo里面 - (void)viewDidLoad {
[super viewDidLoad];

self.navigationItem.title = @"XHLaunchAdExample";

self.label.text = @"使用说明及注意事项见github:\n https://github.com/CoderZhuXH/XHLaunchAd";

UIAlertController *alert = [UIAlertController alertControllerWithTitle:@"弹窗" message:@"测试首页活动弹窗" preferredStyle:UIAlertControllerStyleAlert];
[self presentViewController:alert animated:true completion:nil];

}
加上弹窗,在开启广告页的时候,点击广告,这个弹窗会在 广告页面显示。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant