To run the example project, clone the repo, and run pod install
from the Example directory first.
SJAudioPlayer is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod 'SJAudioPlayer'
#import <SJAudioPlayer/SJAudioPlayer.h>
NSURL *URL = [NSURL URLWithString:@"http://.../auido.mp3"];
_player = SJAudioPlayer.player;
[_player replaceAudioWithURL:URL];
[_player play];
[email protected], [email protected]
SJAudioPlayer is available under the MIT license. See the LICENSE file for more info.