InterstitialAd
@objc(YMAInterstitialAd)
@objcMembers
public class InterstitialAd : NSObject
This class is responsible for showing an interstitial ad.
-
Information data for ad
Declaration
Swift
public let adInfo: AdInfo?
-
Tracks ad lifecycle events.
Declaration
Swift
public weak var delegate: InterstitialAdDelegate? { get set }
-
Use this method to display an interstitial ad after preloading.
Declaration
Swift
@objc(showFromViewController:) public func show(from viewController: UIViewController?)
Parameters
viewController
An object of the
UIViewController
class, which is used to display an interstitial ad.