1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
//
// PDFViewController.h
// Lighting
//
// Created by 曹云霄 on 16/5/17.
// Copyright © 2016年 上海勾芒科技有限公司. All rights reserved.
//
#import "BaseViewController.h"
/**
调用类型
- Announcement: 公告
- Study: 学习
- Image: 本地图片
*/
typedef NS_ENUM(NSInteger,CALL_TYPE) {
Announcement = 0,
Study,
Image
};
@interface CustomWKWebViewController : BaseViewController
/**
调用类型
*/
@property (nonatomic,assign) CALL_TYPE type;
/**
* PDF文件URL
*/
@property (nonatomic,copy) NSString *urlString;
/**
* 抽奖完成
*/
@property (nonatomic,copy) void(^luckyDrawFinishBlock)(NSDictionary *luckyDrawResultDict);
/**
* 退出抽奖界面
*/
@property (nonatomic,copy) void(^dismissLuckyDrawController)();
/**
滑动结束到底部
*/
@property (nonatomic,copy) void(^scrollViewEndBottomBlock)(NSIndexPath *indexPath);
/**
学习项下标
*/
@property (nonatomic,strong) NSIndexPath *indexPath;
@end