PWAdsNativeAdViewDelegate Protocol Reference
Conforms to | NSObject |
---|---|
Declared in | PWAdsNativeAdView.h |
– nativeAdViewWillPresentModal:
Called before a native advertisment modal is presented.
- (void)nativeAdViewWillPresentModal:(PWAdsNativeAdView *)nativeAdView
Parameters
nativeAdView |
The native ad view that was tapped by user. |
---|
Discussion
Called before a native advertisment modal is presented.
Declared In
PWAdsNativeAdView.h
– nativeAdViewDidPresentModal:
Called after a native advertisment modal is presented.
- (void)nativeAdViewDidPresentModal:(PWAdsNativeAdView *)nativeAdView
Parameters
nativeAdView |
The native ad view that was tapped by user. |
---|
Discussion
Called after a native advertisment modal is presented.
Declared In
PWAdsNativeAdView.h
– nativeAdViewWillDissmissModal:
Called before a native ad dismisses a modal.
- (void)nativeAdViewWillDissmissModal:(PWAdsNativeAdView *)nativeAdView
Parameters
nativeAdView |
The native ad view that will finish executing an action. |
---|
Discussion
Called before a native ad dismisses a modal.
Declared In
PWAdsNativeAdView.h
– nativeAdViewDidDismissModal:
Called after a native ad dismissed a modal view.
- (void)nativeAdViewDidDismissModal:(PWAdsNativeAdView *)nativeAdView
Parameters
nativeAdView |
The native ad view view that finished executing an action. |
---|
Discussion
Called after a native ad dismissed a modal view.
Declared In
PWAdsNativeAdView.h
– shouldPresentModalForNativeAdView:
Called before an advertisment modal is presented. This happens when use taps on an advertisment.
- (BOOL)shouldPresentModalForNativeAdView:(PWAdsNativeAdView *)nativeAdView
Parameters
nativeAdView |
The native ad view that the user tapped. |
---|
Return Value
Your delegate returns YES if the native ad action should execute; NO to prevent executing an action.
Discussion
Called before an advertisment modal is presented. This happens when use taps on an advertisment.
Declared In
PWAdsNativeAdView.h
– shouldLeaveApplicationForNativeAdView:
Called before user leaves the application. This happens when user taps on an advertisment.
- (BOOL)shouldLeaveApplicationForNativeAdView:(PWAdsNativeAdView *)nativeAdView
Parameters
nativeAdView |
The native ad view view that the user tapped. |
---|
Return Value
Return YES to allow user to leave the appliction; NO to prevent it. YES by default.
Discussion
Called before user leaves the application. This happens when user taps on an advertisment.
Declared In
PWAdsNativeAdView.h