Tutorial details

Streaming MP3 | App Code for Sale | Preview

Streaming MP3 | iOS Tutorial

How to stream mp3 in your apps

Overview PAGE TOP

Reference: http://www.geekylemon.com/xcode-streaming-mp3

In this tutorial i will be showing you how to stream mp3 in your apps

Features:

  • 1 Audio File

This feature is handy for letting users select a vast amount of info to display in your app

ViewController.h PAGE TOP

#import <UIKit/UIKit.h>

@interface ViewController : UIViewController {
IBOutlet UIWebView *Webview;
}
- (IBAction)Play:(id)sender;

@end

ViewController.m PAGE TOP

@implementation ViewController
- (IBAction)Play:(id)sender {
NSString *stream = @"http://www.geekylemon.com/JungleBed.mp3";
NSURL *url = [NSURL URLWithString:stream];
NSURLRequest *urlrequest = [NSURLRequest requestWithURL:url];
[Webview loadRequest:urlrequest];
}
@end

Reference PAGE TOP

http://www.geekylemon.com/xcode-streaming-mp3

0 Comments Leave a comment

Please login in order to leave a comment.

Newest first
!

Sign-in to your Chupamobile Account.

The Easiest way to Launch your next App or Game.

Join Chupamobile and get instant access to thousands of ready made App and Game Templates.

Creating an account means you’re okay with Chupamobile’s Terms of Service and Privacy Policy.