NativeAdOptions

@objc(YMANativeAdOptions)
@objcMembers
public final class NativeAdOptions : NSObject, Sendable

Configuration options for native ad loading.

  • Flag for automatic image loading. true – Load automatically (default); false – Load manually.

    Warning

    If the app simultaneously stores links to a large number of ads, we recommend using manual image loading.

    Declaration

    Swift

    public let shouldLoadImagesAutomatically: Bool
  • Initializes an object of the NativeAdOptions class.

    Declaration

    Swift

    public init(shouldLoadImagesAutomatically: Bool = true)

    Parameters

    shouldLoadImagesAutomatically

    Flag for automatic image loading. Default is true.