You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 

33 lines
885 B

//
// TFShareManager.h
// TFReader
//
// Created by 谢腾飞 on 2020/12/5.
// Copyright © 2020 xtfei_2011@126.com. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "TFShareView.h"
NS_ASSUME_NONNULL_BEGIN
@interface TFShareManager : NSObject
/// 分享作品
/// @param production_id 作品ID
/// @param chapter_id 章节ID
/// @param type 分享类型
+ (void)shareWithProduction_id:(NSString *)production_id chapter_id:(NSString * _Nullable)chapter_id type:(TFShareType)type;
/// 分享APP
+ (void)shareApp;
/// 自定义分享
/// @param title 分享标题
/// @param desc 分享描述
/// @param imageUrl 分享图片链接
/// @param shareUrl 分享链接
+ (void)shareWithTitle:(NSString *)title desc:(NSString *)desc imageUrl:(NSString *)imageUrl shareUrl:(NSString *)shareUrl;
@end
NS_ASSUME_NONNULL_END