MusicPlayerViewController aimes to be a drop-in component that serves as an UI for a Music Player on iPhone and is replicating the Music.app's user interface.
MusicPlayerViewController has the following features
- Music.app like UI
- Support for variable-speed scrobbling
- Support for resolution/device-dependent cover art
- Controllable using a data source and an optional delegate
- Three Repeat Modes and Shuffle mode
To use MusicPlayerViewController in your Project, just clone the project and copy the required files in Source/ and Resource/ to your project and add them to your target.
Using the component itself is simple. Because it is derived from a standard UIViewController, you can just instantiate it, set a delegate and datasource and are good to go.
BeamMusicPlayerViewController* controller = [[BeamMusicPlayerViewController alloc] initWithNibName:nil bundle:nil]; controller.delegate = self; // Push the controller or something else
The Project contains an example that uses the MediaLibrary to provide data for the UI. You can use this as an starting point.
The Project is licensed under the BSD License.
© 2012 Beam App UG ( haftungsbeschränkt )