Advertising SDK Integration Guide (iOS)
This is Phunware's iOS SDK for the MaaS Advertising module. http://ads.tapit.com/ for more details and to sign up.
- Download MaaS Advertising and run the included sample app.
- Continue reading below for installation and integration instructions.
The MaaS Advertising SDK allows developers to serve many types of ads, including banner, interstitial and video ads.
Video Ads Usage
Native Ad Usage
Listen for Location Updates
If you want to customize the appearance of the in-app browser controller that appears when a user taps on an ad, follow the below instructions.
- To customize the background color of the browser controller toolbar, add the key pwAdsToolbarBgColor with a color value represented in RGBA format (ex. orange = 255 149 0 1) to your app's Info.plist file.
- To customize the tint color of the browser controller toolbar items, add the key pwAdsToolbarTintColor with a color value represented in RGBA format (ex. blue = 0 0 255 1) to your app's Info.plist file.
If you want to customize the appearance of the "close" button for interstitial ads, follow the below instructions: