Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Anish-kumar-dev/SimpleAudioPlayer

Open more actions menu
 
 

Repository files navigation

SimpleAudioPlayer

SimpleAudioPlayer is a simple wrapper for AVAudioPlayer

Usage

To use it, make:

[SimpleAudioPlayer playFile:@"filename.mp3"];

or

[SimpleAudioPlayer playFile:@"filename.mp3" withCompletionBlock:^(BOOL finished) {
    NSLog(@"Finished playing");
}];

Instalation

Using CocoaPods:

Add to your Podfile

pod 'SimpleAudioPlayer' 

then run

pod update

Not using CocoaPods:

Drag the .m and .h file to your project, make sure you have the AVFoundation framework added to your project and off - you go!

About

SimpleAudioPlayer is a simple wrapper for AVAudioPlayer

Resources

License

Stars

Watchers

Forks

Packages

No packages published
Morty Proxy This is a proxified and sanitized view of the page, visit original site.