Discussion Forums  >  Uncategorized

Replies: 4    Views: 221

mrDavid
BTMods.com
Profile
Posts: 3936
Reg: May 21, 2011
San Diego, CA
51,910
08/05/11 08:33 PM (14 years ago)

iads - why not on button screens?

Many of my applications depend on buzz button screens - so you can imagine my disappoint when I found that there were no advertising options under any of my button menu screens. Could you please tell me when this feature will be added, and if not, why? Thank you so much! David. (iPhone, buzz 1.5)
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
08/06/11 01:34 AM (14 years ago)
The why part...because there are tons of menu's out there that show the button along the bottom where the ad banner goes. The good news. If you have button screens that have space along the bottom you could try adding some simple code to the BT_screen_menuButtons.m. Add... //create adView? if([[BT_strings getJsonPropertyValue:self.screenData.jsonVars:@'includeAds':@'0'] isEqualToString:@'1']){ [self createAdBannerView]; } on line 125 just before the last curly brace in the viewDidLoad method. The single quotes should be double in Xcode. You could also copy-n-paste this from the BT_screen_menuList.m file, it's the same code snipet. Who knows, could work ;-)
 
mrDavid
BTMods.com
Profile
Posts: 3936
Reg: May 21, 2011
San Diego, CA
51,910
like
08/06/11 10:17 AM (14 years ago)
Yep I have space at the bottom. I figured you guys would keep the option there anyways since if it overlaps people can just disable the ads there - but still have a option to add them if they want too (like in my situation). I will try your solution - thanks! David.
 
mleonard
Apple Fan
Profile
Posts: 124
Reg: Nov 01, 2011
Conway,AR
1,940
like
04/29/12 04:41 PM (13 years ago)
Any luck getting this working? I tried the above suggestion and can't seem to get it going.
 
mleonard
Apple Fan
Profile
Posts: 124
Reg: Nov 01, 2011
Conway,AR
1,940
like
04/29/12 04:44 PM (13 years ago)
Nevermind got it...had to change it to: //create adView? if([[BT_strings getJsonPropertyValue:self.screenData.jsonVars:@"includeAds":@"1"] isEqualToString:@"1"]){ [self createAdBannerView]; }
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.