![]() NSURLRequest *request = initWithURL: cachePolicy: NSURLRequestUseProtocolCachePolicy timeoutInterval: myTimeoutValue] Instantiate an UIWebView object using a 1×1 pixel sized frame (here ayerView is an instance variable on my controller and is NOT added as a subview) UIWebView *webView = initWithFrame: CGRectMake(0.0, 0.0, 1.0, 1.0)] Here’s how to do it without having to create a special window for it. If you wish to play an onboard MP3 or an MP3 file as it’s downloading (not really streaming, but progressive download) you have another option! Use the audio player embedded with Safari running in a UIWebView. ![]() The iPhone media player is very easy to use, but it only works in landscape mode and it seems designed more for video than audio.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |