Unity and adwhirl using iAds

Im having problems getting unity sample app “Match” iphone sample to work completely with Adwhirl. I’m just using admob and iAds in adWhirl. Admod ads come up fine, but the iAds throw error complaining about needing to be in a view hierarchy. When I add the adwhirl “adView” to a ViewController, then none of my touches to the screen are registered. Only clicking on the ads work. Any help would be appreciated. I’m using unity 1.7 and the lastest adwhirl

thanks,
kc

you need to add the view to an own viewcontroller which you size as large as the ad banner and in the corresponding size and then overlay.

thanks for reply.

I follow you on adding view to own viewcontroller, but not sure I understand the overlay part.

instead of putting the view in front just like that (in which case it will always cover the full screen), you use the additional viewcontroller, specify its bounds to cover exactly the area of the ad and then put your ad view into this new view controller.

this way, the touches to the ad view are restricted to this view controllers bounds not the whole screen and you can interact with the game on the uncontrolled area outside this view controllers bounds

Wow that was simple! I was trying to make it harder than it really was. Much thanks!

Hi casey.mcg

I want to integrate AdWhirl in my game, can you please tell me the step by step process of how to integrate AdWhirl.