Does anyone have any suggestions on how to make a AdWhirl banner in interface builder? Right now I use this code to make a banner:
AdWhirlView *awView = [AdWhirlView requestAdWhirlViewWithDelegate:self];
[self.view addSubview:awView];
awView.frame = CGRectMake(0, 361, kAdWhirlViewWidth, kAdWhirlViewHeight);
I've tried to make a UIView and making an IBOutlet to it and making it's class a AdWhirlView but I can't seem to get it right...
Thanks
I remember i used ADWhirl in one of my projects something like this. I am just copying the code here
Then don't forget to implement these delegate methods.
Finally, also implement these delegate methods for better debugging.
UPDATE:
I am receiving ads after using the view from IB.
But it takes the adView's rect only programatically. I mean, i put the adView in the IB in the middle, but it used to display at the top. But yeah, i get ad's.
Here is the code that I use with IB:
In SecondViewController.h
In SecondViewController.m
And
Then connecting the awView to a UIView in IB with the class AdWhirlView with the size 320x50