2012-03-29 28 views
-3

如何從iPhone應用程序推送視頻以編程方式? (沒有編程引起了我3個起伏:d)如何從iPhone應用程序推送視頻?

有沒有一種方法,我可以附上視頻鳴叫?或者我應該將視頻上傳到其他地方,然後發送鏈接?

在這方面的任何指導,非常感謝。謝謝。

回答

0

您需要上傳視頻,然後將其鏈接。您無法將任何內容「附加」到推文上。

+0

感謝您的確認。 – Myxtic 2012-03-29 17:14:22

0

我有同樣的問題,如何以編程方式將視頻添加到tweetsheet。只發現設置tweetsheet文字,圖片或網址鏈接的代碼。貌似需要上傳的視頻,然後加入視頻網址tweetsheet - >

[tweetSheet setInitialText:@"Tweeting from my own app! :)"] 

if (self.imageString) { 
    [tweetSheet addImage:[UIImage imageNamed:self.imageString]]; 
} 

if (self.urlString) { 
    [tweetSheet addURL:[NSURL URLWithString:self.urlString]]; 
} 

我檢查了以下教程/文檔(例如,到Amazon S3):

raywenderlich教程 (http://www.raywenderlich.com/21558/beginning-twitter-tutorial-updated-for-ios-6

appcoda教程 (http://www.appcoda.com/ios-programming-101-integrate-twitter-and-facebook-sharing-in-ios-6/

蘋果文檔 (https://developer.apple.com/library/ios/documentation/NetworkingInternet/Reference/SLComposeViewController_Class/Reference/Reference.html#//apple_ref/doc/uid/TP40012205