iOS中是否存在與Facebook的功能相同的TWTweetComposeViewController?即只需通過實現一個簡單的模態視圖控制器,用戶就可以簡單地將消息或圖像發佈到他們的時間線上?iOS上的TWTweetComposeViewController的Facebook等價物?
0
A
回答
1
在iOS上使用可以使用Facebook SDK3.1中提供的FBNativeDialog
。請參閱hereFBNativeDialog
與TWTweetComposeViewController
請參閱this tutorial來自Facebook開發人員文檔。
2
在iOS6的,你可以使用社會框架,如:
SLComposeViewController *viewController = [SLComposeViewController composeViewControllerForServiceType: SLServiceTypeFacebook];
[self presentViewController:viewController animated:YES completion:nil];
繼WWDC2012演示介紹以及有關社會框架的用法。
WWDC 2012 Session Videos「Integration With Facebook, Twitter and Sina Weibo
相關問題
- 1. iOS等價物onRestart()
- 2. Android的等價物ios devicecheck
- 3. iOS的NSPathControl等價物
- 4. Python的等價物@
- 5. os.getpardir()的等價物?
- 6. document.getElementsByClassName的等價物
- 7. JavaFX中SplitPane上的setResizeWeight()的等價物?
- 8. ElasticSarch上Solr的copyField的等價物?
- 9. KDE上的pyrcc4的等價物
- 10. DotNET上有沒有JVisualVM的等價物?
- 11. Windows上的/ dev/urandom等價物?
- 12. Linux上_emit的等價物是什麼?
- 13. Win上隨機(3)的等價物?
- 14. 在Windows上的SIGWINCH等價物?
- 15. 在Linux上DYLD_PRINT_LIBRARIES的等價物?
- 16. 什麼是OSX上SHGetFolderPath的等價物?
- 17. .htaccess或IIS上的.htpasswd等價物?
- 18. OrderedDict的list.index()的等價物?
- 19. Unix的pdfinfo的等價物
- 20. Db的List.exists的等價物
- 21. CCLayer的-viewDidAppear的等價物?
- 22. Ruby的cURL的等價物?
- 23. Phoenix的Rails.env.production的等價物?
- 24. PostgreSQL的mysql_insert_id()的等價物?
- 25. Windows的gettimeday()的等價物
- 26. AS2中Event.MOUSE_LEAVE的等價物
- 27. SQL的等價物mysqli_real_escape_string
- 28. tcl中#define的等價物?
- 29. 代碼的LINQ等價物?
- 30. Sinatra的Python等價物