I'm new to implementing ads to my app, how would i go about building a banner ad right into one of the view controllers on my app?
Asked
Active
Viewed 224 times
0
-
1Why hasn't the revmob API not worked for you? Have you even tried this? Sign up to revmob and you get all the instruction you want to do this. Its that simple. – Arsalan Habib Oct 25 '13 at 00:37
-
it only shows me how to activate the ad using a button, how would i set the ad to load automatically? – user2918086 Oct 25 '13 at 00:51
-
Then you are looking at the wrong place. Look at http://sdk.revmobmobileadnetwork.com/ios.html – Arsalan Habib Oct 25 '13 at 00:52
-
thats where i was looking, it doesn't load a banner for me, what am i doing wrong? – user2918086 Oct 25 '13 at 00:54
-
Well in that case let me tell you that sometimes, although you've done everything right, revmob won't load up. I have seen this behaviour myself. It would help if you could post some code to show us what you have implemented for revmob. For example, right now, we don't know IF you have tried anything or have tried everything and it still does not work. – Arsalan Habib Oct 25 '13 at 00:58
1 Answers
0
Use:
[[RevMobAds session]showBanner];
Do not forget to import the framework:
#import <RevMobAds/RevMobAds.h>
You could also found the answer here: http://sdk.revmobmobileadnetwork.com/ios.html#banner This link gives the code AND a video to show you how. What more do you need?

Abdullah Shafique
- 6,878
- 8
- 35
- 70
-
I think its much better to point the OP to the resource to solve the problem, rather than spoon feeding the answer. – Arsalan Habib Oct 25 '13 at 00:53
-
I'm just confused because in the video it shows how to set up buttons that activate and de activate the ads – user2918086 Oct 25 '13 at 00:58
-
@user2918086 Post the code above in my answer in `viewDidLoad` for the viewcontroller you want to put the banner in. – Abdullah Shafique Oct 25 '13 at 00:59
-
ok thanks so much, i was finally able to understand what to do. thanks guys! – user2918086 Oct 25 '13 at 01:03
-
@user2918086 You welcome. Please do not forget the check. It is the tick next to this post. – Abdullah Shafique Oct 25 '13 at 01:05