Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

XCode 4 Tutorial iAd - Geeky Lemon Development

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
6,137
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Apr 26, 2011

Source Code:
http://www.geekylemon.com/WEBPROTECT-xcodeiad.htm

Hey guys in this tutorial i will be showing you how to add iad and generate revenue from ads i hope this help you out in your projects and if there anyway you think i can improve my tutorials or want to request one just tell me via comment or pm and subscribe

please leave feedback on how i can improve my tutorials for everyone and suggest what tutorials i can do next for you :)

make sure to subscribe

Twitter
@GeekyLemon
http://twitter.com/GeekyLemon

Facebook
Geeky Lemon Development
http://tinyurl.com/32yg2ud

App store
http://itunes.com/apps/geekylemondevelopment

  • likes, 4 dislikes

Link to this comment:

Share to:

Uploader Comments (GeekyLemon)

  • I tried it on 4.0 and get error also.

    the error says: program received signal: "SIGABRT"

    I don't know if it work on older simulators but 4.1, 4.2 and 4.3 works fine.

  • @NecTube hey dude this code works on all versions tried and tested it is also the official code apple has given out you may have mistyped something or have an error within your project arguing with your iad code

  • Thank you for such an excellent tutorial. I found this only works on 4.1 or higher. Is there any chance of making an iAd tutorial that work on lower versions?

  • @Donut656 hey dude you are wrong this works for all versions of xcode i have apps out that run 3.0 and have iad

  • do you have the source code, so that we can just copy and paste?

  • @Noisyneal head over to geekylemon com all our tutorials are there and copy and pastable coding

see all

All Comments (27)

Sign In or Sign Up now to post a comment!
  • How do you add iAd to a second page? like when using storyboard? and could you also do a tutorial on how to remove iAs with in-App purchase, and maybe possibly how to unlock more content with in-App purchase Thanks

  • How do you get it to disappear out when a banner does not populate. Using this code when I dont get an iAD i get a blank white background

  • i am unable to get this code to work on the latest XCode (running on my IOS 5 iPhone). No errors, but the white box stays when there isn't an Ad available. The white box remains there until the test iAd by apple is shown, then after a few clicks (to different screens) the white box is back.

  • When my banner isn't showing there is a white spot in it's place?

    Help me please.

    

  • where is the file on Xcode 4.2??

  • @GeekyLemon Hey, I have an app with multiple views (thanks to you) and have pasted this code from one view to another, and when i run it, i sometimes get the error in the debug thread:

    APP NAME ADBannerView: Unhandled error (no delegate or delegate does not implement didFailToReceiveAdWithError:):­ Error Domain=ADErrorDomain Code=3 "The operation couldn’t be completed. Ad inventory unavailable" UserInfo=0x6b3d310 {ADInternalErrorCode=3, NSLocalizedFailureReason=Ad inventory unavailable}

  • What changes would I need to make to allow the ad banner to be displayed at the bottom of the screen?

  • Works Great! Thanks for the awesome video you are awesome!!!!!!!!!!

Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more