Skip to content

WelcomeAdBannerView

WelcomeAdBannerView is a subclass of RingierAdBannerView designed to display welcome ad banners with fluid sizing and user interaction handling. It supports dynamic sizing using the vheight and vwidth keywords and provides a delegate protocol to handle user interactions such as closing the ad or scrolling to content.

Overview

The WelcomeAdBannerView class is used to display a welcome ad banner in a collection view or view controller. The banner's size is determined by the vheight and vwidth keywords, which should reflect the available size within the parent view. The banner supports fluid sizing, expanding to the provided dimensions. User interactions, such as clicking a "close" or "scroll" button, are communicated through the WelcomeAdBannerViewDelegate protocol.

Public Properties

welcomeDelegate

swift
public weak var welcomeDelegate: WelcomeAdBannerViewDelegate?