POBNativeAdLoaderDelegate Protocol Reference
| Conforms to | NSObject |
|---|---|
| Declared in | POBNativeAdLoader.h |
– viewControllerForPresentingModal
required method
Returns a view controller instance to be used by ad server SDK for showing modals
- (UIViewController *)viewControllerForPresentingModalReturn Value
a UIViewController instance for showing modals
Declared In
POBNativeAdLoader.h
– nativeAdLoader:didReceiveAd:
Notifies the delegate that an ad has been successfully loaded.
- (void)nativeAdLoader:(POBNativeAdLoader *)adLoader didReceiveAd:(id<POBNativeAd>)nativeAdParameters
adLoader |
Instance of POBNativeAdLoader |
|---|---|
nativeAd |
Instance of standard native ad from PubMatic |
Declared In
POBNativeAdLoader.h
– nativeAdLoader:didFailToReceiveAdWithError:
Notifies the delegate of an error encountered while loading an ad.
- (void)nativeAdLoader:(POBNativeAdLoader *)adLoader didFailToReceiveAdWithError:(NSError *)errorParameters
adLoader |
Instance of POBNativeAdLoader |
|---|---|
error |
The error encountered while attempting to receive the ad. |
Declared In
POBNativeAdLoader.h