xtremeesolutions
Code is Art
Profile
Posts: 106
Reg: Nov 19, 2011
FootHill Ranch,...
6,610
03/31/12 12:21 PM (13 years ago)

iAds Forcing iAds on Each page.

HI I know that i Can enable iAds Using the Advanced Properties on Each Screen. I am new to iOS So Can anyone Point me to how I can override that behaviour so that the ads are displayed on all screens with out me having to go and mage the configuration changes for each screen. I guess I am Lazy. I Was Seeing BT_viewController.h & createAdViewBannerView & showHideAdview Method. Thinking that removing some if condition should do the job. But I am seeing the iOS Code for the First time. here is my app. http://itunes.apple.com/us/app/sher-o-shayari/id509086997?mt=8
 
xtremeesolutions
Code is Art
Profile
Posts: 106
Reg: Nov 19, 2011
FootHill Ranch,...
6,610
like
03/31/12 12:56 PM (13 years ago)
Got it resolved myself removed if([[BT_strings getJsonPropertyValue:self.screenData.jsonVars:@"includeAds":@"0"] isEqualToString:@"1"]){ from BT_Screen_CustomHTML.m
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
03/31/12 12:57 PM (13 years ago)
Sweet! Another hack would have been to search your configuration file for "includeAds":"0" and switch it to "includeAds":"1", which is what enables adds. But I like the code hack better, because if you download a new config file, it would get overwritten. Mark
 
xtremeesolutions
Code is Art
Profile
Posts: 106
Reg: Nov 19, 2011
FootHill Ranch,...
6,610
like
03/31/12 06:09 PM (13 years ago)
Thanks Mark. For Suggesting another option.
 
chuki
Apple Fan
Profile
Posts: 119
Reg: Feb 21, 2012
princeton
1,290
like
04/11/12 07:18 AM (13 years ago)
hi quick question- I just added iAds to some of my custom html pages but after I added them, all the original text just disappeared...e.g. I had some questions on a page but after an iAd was added to the page, all the questions just disappeared. Why is all my text gone? Can I do anything to recover it?
 

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.