NativeAdLoader

@objc(YMANativeAdLoader)
@objcMembers
public class NativeAdLoader : NSObject

This class is responsible for loading native ads.

  • Monitors the process of loading native ads.

    Declaration

    Swift

    public weak var delegate: NativeAdLoaderDelegate? { get set }
  • Undocumented

    Declaration

    Swift

    override public convenience init()
  • Loads an ad with the specified targeting data.

    Declaration

    Swift

    @objc(loadAdWithRequestConfiguration:)
    public func loadAd(with requestConfiguration: NativeAdRequestConfiguration)

    Parameters

    requestConfiguration

    Request configuration for targeting.