Banner/MREC Ads
Importing the SDK
#import <IASDKCore/IASDKCore>.hAdding Properties
@property (nonatomic, strong) IAAdSpot *adSpot;
@property (nonatomic, strong) IAViewUnitController*viewUnitController;
@property (nonatomic, strong) IAMRAIDContentController*mraidContentController;IAUserData *userData =
[IAUserData build:^(id _Nonnull builder) {
builder.age = 34;
builder.gender = IAUserGenderTypeMale;
builder.zipCode = @"90210";
}];
IASDKCore.sharedInstance.userData = userData;Example:
Creating the Ad Request Object
Initializing the MRAID Content Controller
Declaring Your View Controller
Initializing the View Unit Controller
Declaring Your View Controller
Initializing the Placement
Fetching the Ad
Fetching the Ad for Waterfall
Fetching the Ad for SDK Bidding
Generating the Token
Loading the Ad
Last updated
