Geen omschrijving

FLShareHelper.h 1.1KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. //
  2. // FLShareHelper.h
  3. // FirstLink
  4. //
  5. // Created by unicode on 14-11-5.
  6. // Copyright (c) 2014年 FirstLink. All rights reserved.
  7. //
  8. #import <Foundation/Foundation.h>
  9. #define TITLE_LENGTH 50
  10. #define DESCRIPTION_LENGTH 100
  11. @interface FLShareHelper : NSObject
  12. //+ (NSString*)shareURLString:(NSString*)commodityID sellerID:(NSString*)sellerID;
  13. + (void)shareToWeixin:(NSString*)title
  14. description:(NSString*)description
  15. thumbImage:(UIImage*)image
  16. webURL:(NSString*)urlString
  17. scene:(WeixinScene)scene;
  18. /**
  19. tag 唯一标示,必须要有
  20. */
  21. + (void)shareToWeiboWithTitle:(NSString *)title
  22. content:(NSString *)content
  23. image:(UIImage *)image
  24. urlString:(NSString *)urlString
  25. tagID:(NSString *)tagID;
  26. + (void)shareToQQZoneWithTitle:(NSString *)title
  27. content:(NSString *)content
  28. imgUrl:(NSString *)imgUrl
  29. urlString:(NSString *)urlString;
  30. + (NSString *)defaultShareDescription;
  31. @end