'SoundTap_HDViewController' does not implement the 'AVAudioPlayerDelegate'
I get this error, and I dont get how to fix it?
class 'SoundTap_HDViewController' does not implement t开发者_如何学Gohe 'AVAudioPlayerDelegate' protocol
Any help?
If you are going to conform to a protocol, you need to implement its required methods. AVAudioPlayerDelegate has no required methods, so you may be trying to call a delegate method without adding the protocol. Does your class look something like:
@interface SoundTap_HDViewController : NSObject <AVAudioPlayerDelegate>
Protocols are listed between the <> and separated by commas.
精彩评论