Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trial
Mark Cranston
1,817 PointsIAd in Sprite Kit
Hi, For a while now, I have been struggling with the implementation of iAd into my SpriteKit project. I have looked through all of the Stack Overflow, and a few other forums and either am not understanding them correctly or they do not apply to my problem. I was wondering if anyone know how I might solve this problem or had or would be willing to make a quick example of a working iAd banner in SpiteKit, so that I could see it as an example. I know this is a lot to ask, but I would REALLY appreciate your help. You can view my exact error here: https://teamtreehouse.com/community/error-with-iad Thank you in advance, I really appreciate your help!
1 Answer
Rashii Henry
16,433 PointsHey mark, try this.
Go to your storyboard and try to select the view of the view controller, make sure the class is set to SKView and not UIView.
Let me know what happens.
Rashii Henry
16,433 PointsRashii Henry
16,433 PointsBtw, to answer your question from the original forum post, This has nothing to do with you implementing iAD. Just a simple mistake that you may have over looked when starting the project.
Mark Cranston
1,817 PointsMark Cranston
1,817 PointsMy view controller was already set to and SKView, do you know of anything else that might be going on here? Thanks in advance!