-
Notifications
You must be signed in to change notification settings - Fork 1
iOS Banner Delegates
Mert Celik edited this page Sep 24, 2018
·
1 revision
If you want to get feedback on the status of the banner ads, implement the AMBannerDelegate in your class.
In order to get status updates, you should set your class as a delegate of AMBanner.
[AMBanner setDelegate:YOUR_CLASS];
To access and implement AMBannerDelegate methods, you must adopt the delegate.
@interface YOUR_CLASS ()<AMBannerDelegate>
...
@end
- (void)AMBannerDidLoad:(AMBanner *)banner;
- (void)AMBannerDidFailToLoad:(AMBanner *)banner withError:(NSError *)error;
- (void)AMBannerDidShow:(AMBanner *)banner;
- (void)AMBannerDidClick:(AMBanner *)banner;