2012-12-28 135 views

回答

1

如果你打算釋放應用AppStore的我勸你不要離開這個選項。儘管AppStore上的應用程序啓用了該功能,但Youtube規則並不允許這一點,而且蘋果公司現在正在關注它們。我的一個朋友試圖添加離線遊戲到他的Youtube播放器應用程序,並因此被拒絕。

+0

嗨阿馬爾, 你可以請指導這個東西的記錄。所以我可以向我的團隊展示。 謝謝, – gaurav

+0

這裏是他們的拒絕信息 - http://cl.ly/image/2n01111Z1g1k –

+0

也在此鏈接上,您可以閱讀他們的服務條款 - http://www.youtube.com/static?template=terms我認爲在5.B下你可以找到類似於「你不應該下載任何沒有下載鏈接的內容」或類似的東西 –

0
1) Get the NSURL Object First using url string. 
    2) Allocate and start an NSURLConnection to fetch the file from the URL. Do not use sendSynchronousRequest:returningResponse:error  
    3) In the connection:didReceiveResponse: delegate method, create NSData object 
    4) In the connection:didReceiveData: delegate method, get the data and append it to NSData object 
    5) play the video using MPMoviePlayerController after getting data.