XWShareView.h 1016 Bytes
//
//  XWShareView.h
//  CNLiveScioLive
//
//  Created by CNLive-zxw on 2018/10/20.
//  Copyright © 2018年 CNLive. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "TemplateShareButton.h"

NS_ASSUME_NONNULL_BEGIN
@protocol XWShareViewDelegate <NSObject>

@required

- (void)shareBtnClickWithType:(TemplateShareButtonType)type andShareVC:(UIViewController *)shareVC;

@end
@interface XWShareView : UIView


@property (nonatomic,weak) id<XWShareViewDelegate> shareDelegate;

/**
 *  自定义初始化方法
 *
 *  @param frame  frame
 *  @param shareTitle reportButton是否隐藏
 *  @param shareText reportButton是否隐藏
 *  @param shareImg reportButton是否隐藏
 *  @param shareUrl reportButton是否隐藏
 *
 *  @return 返回一个XWShareView对象
 */


- (instancetype)initWithFrame:(CGRect)frame ShareImg:(NSString *)shareImg ShareTitle:(NSString *)shareTitle ShareText:(NSString *)shareText ShareUrl:(NSString *)shareUrl;

- (void)show;

- (void)configibutton;

@end

NS_ASSUME_NONNULL_END