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
NativeAdOptionsclass.Declaration
Swift
public init(shouldLoadImagesAutomatically: Bool = true)Parameters
shouldLoadImagesAutomaticallyFlag for automatic image loading. Default is
true.