iOS

The Rdio iOS SDK lets developers call the web service API, authenticate users, and play full song streams or 30 second samples.

Full API documentation is available: http://www.rdio.com/media/static/developer/ios/docs/

A minimal sample app is available with complete source code: https://github.com/rdio/hello-ios-playback

To get started:

  • Try the example game and get the source from https://github.com/rdio/rdioquiz-ios
  • Download the framework
  • Drag the Rdio framework into your XCode project
  • Add CoreGraphics.framework, CFNetwork.framework, SystemConfiguration.framework, AudioToolbox.framework and Security.framework
  • Add -all_load under Other Linker Flags in the project build info
  • Try the following code in your app delegate:
   #import <Rdio/Rdio.h>
   Rdio *rdio = [[Rdio alloc] initWithConsumerKey:@"YOUR KEY" andSecret:@"YOUR SECRET" delegate:nil];
   [rdio.player playSource:@"t2742133"];