用第三方 app 打開網址來播放 streaming video?

24 views
Skip to first unread message

hSATAC

unread,
May 24, 2012, 6:24:27 AM5/24/12
to cocoah...@googlegroups.com
我在我的 App 用 UIDocumentInteractionController 可以用第三方軟體打開檔案,包括影片 , pdf 等等
但 UIDocumentInteractionController 似乎不支援網址,只能存取本地檔案

有麼方式是可以把 url 丟給第三方軟體去打開的嗎?(目的是播放 streaming video)

謝謝

Weizhong Yang

unread,
May 24, 2012, 10:02:32 AM5/24/12
to cocoah...@googlegroups.com

[[UIApplication sharedApplication] openURL:yourNSURLObejct];

如果是 Youtube 的 URL,應該會用 Youtube.app 播放。

--
Weizhong Yang (a.k.a zonble)
http://zonble.net
zon...@gmail.com
Reply all
Reply to author
Forward
0 new messages