Showing Banners

View original article on our GitHub

First, include StartAppPlugin.h in the header file of your view controller

#include "StartAppPlugin.h"

Then, call loadBanner in the view controller where you want the banner to be displayed.


Positioning the banner

The origin of the banner is determined by the first parameter which can receive one of the following values

STAAdOrigin_Top Auto Top The banner will be centered and pinned to the top of the view. In case the view is a root view controller, the banner will be located under the status bar, if exists.
STAAdOrigin_Bottom Auto Bottom The banner will be centered and pinned to the bottom of the view.

If you wish to use a fixed origin for the banner, please refer to the "Advanced Manual"

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request