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

iOS

Tyler Miller
seal-mask
.a{fill-rule:evenodd;}techdegree
Tyler Miller
iOS Development Techdegree Student 8,299 Points

iAd and [SKAction playSoundFileNamed];

I have built a SpriteKit based game with iAd integration, upon going live in the App Store O noticed that clicking on an ad break all of my SKActions for sound effects. I was hoping someone here has an idea why and a way to fix it. My thoughts on fixing it is to simply preload my sound effects SKActions again after the ad is dismissed, unfortunately I am not able to test this as the live ads contain video while the test ads do not.

Here is a link to my game, so you can see first hand what happens. https://itunes.apple.com/us/app/dodging-asteriods/id969815744?mt=8