PDA

View Full Version : Is NSSound.h included in the IPhone SDK?




jerrywickey
Apr 28, 2009, 05:40 PM
Is NSSound.h included in the IPhone SDK?

When I #import "NSSound.h"

I get "error NSSound.h no such file or directory"

Its class and instance methods are included in the API docs.

Jerry



kainjow
Apr 28, 2009, 05:50 PM
No. If you're in Xcode make sure you're viewing the iPhone OS doc set, not the Mac OS X one.

What you want is here:
http://developer.apple.com/iphone/library/codinghowtos/AudioAndVideo/index.html#PLAYBACK