javascriptiosmraid

MRAID Compliance


I created an Ad Publisher iOS SDK, which will show bottom banner ad. It is created using native components of iOS, like UIView, UIImageView, UIButton, etc. I would like to make it MRAID compliance. If i created Ad using HTML5 and loaded it into an UIWebView, i can inject mraid.js into the UIWebView and trigger functions like ad loaded, expanded, etc using

  "stringByEvaluatingJavaScriptFromString"

But i created the banner ad using Native components. So how can i make the ad MRAID compliance?

Please advice, Thank you.


Solution

  • You can't get there from here. MRAID advertisements are built out of HTML and Javascript, not native iOS components.