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 08-07-2010, 07:54 PM   #1 (permalink)
Registered Member
 
Join Date: Jul 2010
Posts: 28
thomas02 is on a distinguished road
Default AdWhirl help

I am new to integrating ads into apps. I can follow the AdWhirl setup but when it gets to the actual point where you add the code I cant seem to get it to work.
Thanks.
thomas02 is offline   Reply With Quote
Old 08-07-2010, 10:56 PM   #2 (permalink)
Registered Member
 
msencenb's Avatar
 
Join Date: May 2009
Location: Stanford, CA
Posts: 291
msencenb is on a distinguished road
Default

Can you give details. What error messages are you getting? Where is it crashing? What warnings do you have? Things like this will help us identify the problem
__________________
I'm starting a new blog dedicated to iOS development. Check it out at:

http://www.iosdevscreencasts.com
msencenb is offline   Reply With Quote
Old 08-08-2010, 03:54 AM   #3 (permalink)
Registered Member
 
Join Date: Jul 2010
Posts: 139
dudeofswim is on a distinguished road
Default

Quote:
Originally Posted by msencenb View Post
Can you give details. What error messages are you getting? Where is it crashing? What warnings do you have? Things like this will help us identify the problem
Me too!

and hello neighbor!

I have trouble with steps 6-7. No idea what to do.
dudeofswim is offline   Reply With Quote
Old 08-08-2010, 02:03 PM   #4 (permalink)
Registered Member
 
msencenb's Avatar
 
Join Date: May 2009
Location: Stanford, CA
Posts: 291
msencenb is on a distinguished road
Default

On steps 6 and 7 you need to implement the delegate method for AdWhirl.

Are you getting errors?

Simply add in the chunks of code in 6 and 7 (and be sure to reference it in the .h file)

Code:
UIViewController <AdWhirlDelegate>
__________________
I'm starting a new blog dedicated to iOS development. Check it out at:

http://www.iosdevscreencasts.com
msencenb is offline   Reply With Quote
Old 08-08-2010, 10:13 PM   #5 (permalink)
Registered Member
 
Join Date: Jul 2010
Posts: 28
thomas02 is on a distinguished road
Default

Quote:
Originally Posted by msencenb View Post
Can you give details. What error messages are you getting? Where is it crashing? What warnings do you have? Things like this will help us identify the problem
I am getting errors from the AdWhirl code. Stuff like reachability code errors in AdWhirlConfig.
thomas02 is offline   Reply With Quote
Old 08-10-2010, 09:10 AM   #6 (permalink)
Registered Member
 
Join Date: Jul 2010
Posts: 28
thomas02 is on a distinguished road
Default

Please anyone have any answers.
thomas02 is offline   Reply With Quote
Old 08-16-2010, 12:32 PM   #7 (permalink)
Registered Member
 
msencenb's Avatar
 
Join Date: May 2009
Location: Stanford, CA
Posts: 291
msencenb is on a distinguished road
Default

Sorry I haven't replied in a while... can you post the specific errors and where they occur in code please?
__________________
I'm starting a new blog dedicated to iOS development. Check it out at:

http://www.iosdevscreencasts.com
msencenb is offline   Reply With Quote
Old 08-30-2010, 11:56 AM   #8 (permalink)
Registered Member
 
Join Date: Jun 2010
Posts: 8
etalmor is on a distinguished road
Default

Quote:
Originally Posted by thomas02 View Post
Please anyone have any answers.
I'm a newbie with integrating ads too, but I was successful in integrating adwhirl after a while. The instructions for section 6 aren't clear at all. This is what you need to do:

1) Inside your ViewController.h:

#import "AdWhirlView.h"
#import "AdWhirlDelegateProtocol.h"

2)

@interface ViewController : UIViewController <AdWhirlDelegate>{
//your code

3) Inside your ViewController.m:

above the @implementation:

#define kSampleAppKey @"yourAdWhirlKey"

4) Inside the @implementation:

#pragma mark AdWhirlDelegate methods

- (NSString *)adWhirlApplicationKey{
return kSampleAppKey;
}

- (UIViewController *)viewControllerForPresentingModalView{
return self;
}


Now for section 7:

5) Inside your ViewController.m

- (void)viewDidLoad {

[super viewDidLoad];

AdWhirlView *awView = [AdWhirlView requestAdWhirlViewWithDelegate:self];

[self.view addSubview:awView];


// that's it!
etalmor is offline   Reply With Quote
Reply

Bookmarks

Tags
ads, code

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: 308
10 members and 298 guests
arash5500, gordo26, HemiMG, linkmx, mediaspree, nobstudio, Objective Zero, Paul Slocum, stanny, Touchmint
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,655
Threads: 94,116
Posts: 402,889
Top Poster: BrianSlick (7,990)
Welcome to our newest member, pungs
Powered by vBadvanced CMPS v3.1.0

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