Swift: Overlooked playground cool stuff #2

Screen Shot 2015-06-03 at 10.52.51 AM

Play audio. Make sure you extend the time field setting long enough to finish playing your track, otherwise it will cut off at its default setting of 30 seconds.

On the iOS side of things, you must run the simulator if you want to hear audio. In OS X, it’s baked in. No extra work needed.

One Comment