AppOpenAd
@objc(YMAAppOpenAd)
@objcMembers
public class AppOpenAd : NSObject
This class is responsible for showing an app open ad.
-
Information about the ad.
Declaration
Swift
public let adInfo: AdInfo? -
Information about additional ad attributes
Declaration
Swift
public let adAttributes: [AdAttributes] -
Tracks ad lifecycle events.
Declaration
Swift
public weak var delegate: AppOpenAdDelegate? { get set } -
Use this method to display an app open ad after preloading.
Declaration
Swift
@objc(showFromViewController:) public func show(from viewController: UIViewController?)Parameters
viewControllerAn object of the
UIViewControllerclass, which is used to display an app open ad.