Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Interface 2, Advanced iOS
Mockup & Code Gen
($9.99)

Make your own iPhone apps
and run them live!
(free)

Pic Frame Dynamo: Photo Editing
($0.99)

Abiliator
($1.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum > iPhone SDK Development Forums > iPhone SDK Development

Reply
 
LinkBack Thread Tools Display Modes
Old 09-29-2009, 04:16 PM   #1 (permalink)
Registered Member
 
LiquidChaz's Avatar
 
Join Date: Sep 2009
Location: New York City
Posts: 53
LiquidChaz is on a distinguished road
Default Keeping admob static on the bottom of the screen

I have an app that consists of multiple views and a couple table views all managed by a nav controller at the top of the screen. I'm implementing AdMob now and I was wondering...

Does anyone have an easy way to keep a view static at the bottom of the screen while the user navigates different views and tables above it?
LiquidChaz is offline   Reply With Quote
Old 09-30-2009, 01:44 AM   #2 (permalink)
Daddy Cool
iPhone Dev SDK Supporter
 
MarkC's Avatar
 
Join Date: Mar 2009
Location: Yorkshire, England
Age: 100
Posts: 1,616
MarkC is on a distinguished road
Default

You can leave a 'blanking plate' by setting the following code in AdViewController.m:

Code:
- (void)awakeFromNib {
  [self retain];
  self.view.hidden = NO;
  adMobAd = [AdMobView requestAdWithDelegate:self];
  [adMobAd retain];
}
I guess you could leave the UIView in the same place across all views, which would leave a consistent box wherever you'd navigated to, but would fill up if Admob was 'ripe' for an ad?!?!?

Last edited by MarkC; 09-30-2009 at 01:47 AM.
MarkC is offline   Reply With Quote
Reply

Bookmarks

Tags
admob, static, view

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



» Advertisements
» Online Users: 347
10 members and 337 guests
givensur, glenn_sayers, guusleijsten, ipodphone, jbro, mediaspree, mtl_tech_guy, Punkjumper, whitey99, yys
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,649
Threads: 94,114
Posts: 402,883
Top Poster: BrianSlick (7,990)
Welcome to our newest member, Anwerbl
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 09:34 PM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0