Xamarin.iOS. Appodeal. Foundation.MonoTouchException: Objective-C exception thrown. Name: NSInvalidArgumentException Reason: -[APDImage imageUrl]: unrecognized selector sent to instance 0x280002420
class NativeAdDelegate : APDNativeAdLoaderDelegate
{
NativeAdView _nativeAdView;
public NativeAdDelegate(NativeAdView nativeAdView) =>
_nativeAdView = nativeAdView;
public override void NativeAdLoader(APDNativeAdLoader loader, NSError error) =>
Console.WriteLine("APDNativeAd DidFailToLoadWithError");
public override void NativeAdLoader(APDNativeAdLoader loader, NSArray nativeAds) =>
_nativeAdView.DidLoad(nativeAds.GetItem<APDNativeAd>(0));
}
In
nativeAds.GetItem(0)
I have title and descriptionText, but I haven't images. I get exception in nativeAds.GetItem(0).IconImage.ImageUrl.